#include <stdout_sinks.h>
Public Types | |
using | mutex_t = typename ConsoleMutex::mutex_t |
Public Member Functions | |
stdout_sink () | |
~stdout_sink () override=default | |
stdout_sink (const stdout_sink &other)=delete | |
stdout_sink & | operator= (const stdout_sink &other)=delete |
void | log (const details::log_msg &msg) override |
void | flush () override |
void | set_pattern (const std::string &pattern) override |
void | set_formatter (std::unique_ptr< spdlog::formatter > sink_formatter) override |
Public Member Functions inherited from spdlog::sinks::sink | |
sink () | |
sink (std::unique_ptr< spdlog::pattern_formatter > formatter) | |
virtual | ~sink ()=default |
bool | should_log (level::level_enum msg_level) const |
void | set_level (level::level_enum log_level) |
level::level_enum | level () const |
Private Attributes | |
mutex_t & | mutex_ |
FILE * | file_ |
Additional Inherited Members | |
Protected Attributes inherited from spdlog::sinks::sink | |
level_t | level_ |
std::unique_ptr< spdlog::formatter > | formatter_ |
Definition at line 24 of file stdout_sinks.h.
using spdlog::sinks::stdout_sink< TargetStream, ConsoleMutex >::mutex_t = typename ConsoleMutex::mutex_t |
Definition at line 27 of file stdout_sinks.h.
|
inline |
Definition at line 28 of file stdout_sinks.h.
|
overridedefault |
|
delete |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
delete |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
private |
Definition at line 67 of file stdout_sinks.h.
|
private |
Definition at line 66 of file stdout_sinks.h.