#include <base_sink.h>
Public Member Functions | |
base_sink () | |
base_sink (const base_sink &)=delete | |
void | flush () SPDLOG_FINAL override |
void | log (const details::log_msg &msg) SPDLOG_FINAL override |
base_sink & | operator= (const base_sink &)=delete |
virtual | ~base_sink ()=default |
Public Member Functions inherited from spdlog::sinks::sink | |
level::level_enum | level () const |
void | set_level (level::level_enum log_level) |
bool | should_log (level::level_enum msg_level) const |
sink () | |
virtual | ~sink () |
Protected Member Functions | |
virtual void | _flush ()=0 |
virtual void | _sink_it (const details::log_msg &msg)=0 |
Protected Attributes | |
Mutex | _mutex |
Definition at line 25 of file base_sink.h.
|
inline |
Definition at line 28 of file base_sink.h.
|
virtualdefault |
|
delete |
|
protectedpure virtual |
Implemented in spdlog::sinks::SPDLOG_FINAL< Mutex >, spdlog::sinks::ansicolor_sink< Mutex >, spdlog::sinks::SPDLOG_FINAL< Mutex >, spdlog::sinks::SPDLOG_FINAL< Mutex >, spdlog::sinks::wincolor_sink< Mutex >, spdlog::sinks::SPDLOG_FINAL< Mutex >, spdlog::sinks::dist_sink< Mutex >, spdlog::sinks::SPDLOG_FINAL< Mutex >, spdlog::sinks::ostream_sink< Mutex >, and spdlog::sinks::null_sink< Mutex >.
|
protectedpure virtual |
Implemented in spdlog::sinks::SPDLOG_FINAL< Mutex >, spdlog::sinks::SPDLOG_FINAL< Mutex >, spdlog::sinks::ansicolor_sink< Mutex >, spdlog::sinks::SPDLOG_FINAL< Mutex >, spdlog::sinks::wincolor_sink< Mutex >, spdlog::sinks::SPDLOG_FINAL< Mutex >, spdlog::sinks::dist_sink< Mutex >, spdlog::sinks::SPDLOG_FINAL< Mutex >, spdlog::sinks::ostream_sink< Mutex >, and spdlog::sinks::null_sink< Mutex >.
|
inlineoverridevirtual |
Implements spdlog::sinks::sink.
Definition at line 39 of file base_sink.h.
|
inlineoverridevirtual |
Implements spdlog::sinks::sink.
Definition at line 34 of file base_sink.h.
|
delete |
|
protected |
Definition at line 47 of file base_sink.h.