moved tcp sink to sinks

This commit is contained in:
gabime 2020-02-10 14:21:26 +02:00
parent 38584a1fca
commit 05cbdbc1ef

View File

@ -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>;
}}