mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
moved tcp sink to sinks
This commit is contained in:
@@ -8,6 +8,9 @@
|
||||
#include <arpa/inet.h>
|
||||
#include <unistd.h>
|
||||
|
||||
namespace spdlog {
|
||||
namespace sinks {
|
||||
|
||||
template<typename Mutex>
|
||||
class tcp_sink : public spdlog::sinks::base_sink <Mutex>
|
||||
{
|
||||
@@ -49,3 +52,4 @@ private:
|
||||
};
|
||||
using tcp_sink_mt = tcp_sink<std::mutex>;
|
||||
using tcp_sink_st = tcp_sink<spdlog::details::null_mutex>;
|
||||
}}
|
Reference in New Issue
Block a user