Agora
1.2.0
Agora project
|
#include <sink.h>
Public Member Functions | |
virtual | ~sink ()=default |
virtual void | log (const details::log_msg &msg)=0 |
virtual void | flush ()=0 |
virtual void | set_pattern (const std::string &pattern)=0 |
virtual void | set_formatter (std::unique_ptr< spdlog::formatter > sink_formatter)=0 |
void | set_level (level::level_enum log_level) |
level::level_enum | level () const |
bool | should_log (level::level_enum msg_level) const |
Protected Attributes | |
level_t | level_ {level::trace} |
|
virtualdefault |
|
pure virtual |
Implemented in spdlog::sinks::ansicolor_sink< ConsoleMutex >, spdlog::sinks::stdout_sink_base< ConsoleMutex >, spdlog::sinks::wincolor_sink< ConsoleMutex >, spdlog::sinks::base_sink< Mutex >, and spdlog::sinks::base_sink< std::mutex >.
SPDLOG_INLINE spdlog::level::level_enum spdlog::sinks::sink::level | ( | ) | const |
|
pure virtual |
Implemented in spdlog::sinks::ansicolor_sink< ConsoleMutex >, spdlog::sinks::stdout_sink_base< ConsoleMutex >, spdlog::sinks::wincolor_sink< ConsoleMutex >, spdlog::sinks::base_sink< Mutex >, and spdlog::sinks::base_sink< std::mutex >.
|
pure virtual |
Implemented in spdlog::sinks::wincolor_sink< ConsoleMutex >, spdlog::sinks::ansicolor_sink< ConsoleMutex >, spdlog::sinks::stdout_sink_base< ConsoleMutex >, spdlog::sinks::base_sink< Mutex >, and spdlog::sinks::base_sink< std::mutex >.
SPDLOG_INLINE void spdlog::sinks::sink::set_level | ( | level::level_enum | log_level | ) |
|
pure virtual |
SPDLOG_INLINE bool spdlog::sinks::sink::should_log | ( | level::level_enum | msg_level | ) | const |
|
protected |