|
spdlog
|
Definition at line 43 of file tcp_sink.h.
#include <tcp_sink.h>
Public Member Functions | |
| tcp_sink (tcp_sink_config sink_config) | |
| ~tcp_sink () override=default | |
| void | log (const details::log_msg &msg) final |
| void | flush () final |
| void | set_pattern (const std::string &pattern) final |
| void | set_formatter (std::unique_ptr< spdlog::formatter > sink_formatter) final |
| void | set_level (level::level_enum log_level) |
| level::level_enum | level () const |
| bool | should_log (level::level_enum msg_level) const |
Protected Member Functions | |
| void | sink_it_ (const spdlog::details::log_msg &msg) override |
| void | flush_ () override |
| virtual void | set_pattern_ (const std::string &pattern) |
| virtual void | set_formatter_ (std::unique_ptr< spdlog::formatter > sink_formatter) |
Protected Attributes | |
| tcp_sink_config | config_ |
| details::tcp_client | client_ |
| std::unique_ptr< spdlog::formatter > | formatter_ |
| Mutex | mutex_ |
| level_t | level_ {level::trace} |
|
inlineexplicit |
Definition at line 49 of file tcp_sink.h.
|
overridedefault |
|
finalvirtualinherited |
Implements spdlog::sinks::sink.
Definition at line 33 of file base_sink-inl.h.
|
inlineoverrideprotectedvirtual |
Implements spdlog::sinks::base_sink< Mutex >.
Definition at line 72 of file tcp_sink.h.
|
inherited |
Definition at line 22 of file sink-inl.h.
|
finalvirtualinherited |
Implements spdlog::sinks::sink.
Definition at line 26 of file base_sink-inl.h.
|
finalvirtualinherited |
Implements spdlog::sinks::sink.
Definition at line 47 of file base_sink-inl.h.
|
protectedvirtualinherited |
Reimplemented in spdlog::sinks::dist_sink< Mutex >.
Definition at line 60 of file base_sink-inl.h.
|
inherited |
Definition at line 17 of file sink-inl.h.
|
finalvirtualinherited |
Implements spdlog::sinks::sink.
Definition at line 40 of file base_sink-inl.h.
|
protectedvirtualinherited |
Reimplemented in spdlog::sinks::dist_sink< Mutex >.
Definition at line 54 of file base_sink-inl.h.
|
inherited |
Definition at line 12 of file sink-inl.h.
|
inlineoverrideprotectedvirtual |
Implements spdlog::sinks::base_sink< Mutex >.
Definition at line 61 of file tcp_sink.h.
|
protected |
Definition at line 74 of file tcp_sink.h.
|
protected |
Definition at line 73 of file tcp_sink.h.
|
protectedinherited |
Definition at line 39 of file base_sink.h.
|
protectedinherited |
|
mutableprotectedinherited |
Definition at line 40 of file base_sink.h.