mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-14 01:32:07 +08:00
moved tcp sink to sinks
This commit is contained in:
parent
38584a1fca
commit
05cbdbc1ef
@ -8,6 +8,9 @@
|
|||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
namespace spdlog {
|
||||||
|
namespace sinks {
|
||||||
|
|
||||||
template<typename Mutex>
|
template<typename Mutex>
|
||||||
class tcp_sink : public spdlog::sinks::base_sink <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_mt = tcp_sink<std::mutex>;
|
||||||
using tcp_sink_st = tcp_sink<spdlog::details::null_mutex>;
|
using tcp_sink_st = tcp_sink<spdlog::details::null_mutex>;
|
||||||
|
}}
|
Loading…
Reference in New Issue
Block a user