Livox SDK API
V2.2.0
|
#include <base_sink.h>
Public Member Functions | |
base_sink ()=default | |
base_sink (const base_sink &)=delete | |
base_sink & | operator= (const base_sink &)=delete |
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 |
Public Member Functions inherited from spdlog::sinks::sink | |
sink ()=default | |
sink (std::unique_ptr< spdlog::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 |
Protected Member Functions | |
virtual void | sink_it_ (const details::log_msg &msg)=0 |
virtual void | flush_ ()=0 |
virtual void | set_pattern_ (const std::string &pattern) |
virtual void | set_formatter_ (std::unique_ptr< spdlog::formatter > sink_formatter) |
Protected Attributes | |
Mutex | mutex_ |
Protected Attributes inherited from spdlog::sinks::sink | |
level_t | level_ {level::trace} |
std::unique_ptr< spdlog::formatter > | formatter_ {details::make_unique<spdlog::pattern_formatter>()} |
Definition at line 22 of file base_sink.h.
|
default |
|
delete |
|
inlinefinalvirtual |
Implements spdlog::sinks::sink.
Definition at line 35 of file base_sink.h.
|
protectedpure virtual |
Implemented in spdlog::sinks::daily_file_sink< Mutex, FileNameCalc >, spdlog::sinks::rotating_file_sink< Mutex >, spdlog::sinks::android_sink< Mutex >, spdlog::sinks::dist_sink< Mutex >, spdlog::sinks::syslog_sink< Mutex >, spdlog::sinks::basic_file_sink< Mutex >, spdlog::sinks::ostream_sink< Mutex >, and spdlog::sinks::null_sink< Mutex >.
|
inlinefinalvirtual |
Implements spdlog::sinks::sink.
Definition at line 29 of file base_sink.h.
|
delete |
|
inlinefinalvirtual |
Implements spdlog::sinks::sink.
Definition at line 47 of file base_sink.h.
|
inlineprotectedvirtual |
Reimplemented in spdlog::sinks::dist_sink< Mutex >.
Definition at line 62 of file base_sink.h.
|
inlinefinalvirtual |
Implements spdlog::sinks::sink.
Definition at line 41 of file base_sink.h.
|
inlineprotectedvirtual |
Reimplemented in spdlog::sinks::dist_sink< Mutex >.
Definition at line 57 of file base_sink.h.
|
protectedpure virtual |
Implemented in spdlog::sinks::daily_file_sink< Mutex, FileNameCalc >, spdlog::sinks::rotating_file_sink< Mutex >, spdlog::sinks::dist_sink< Mutex >, spdlog::sinks::syslog_sink< Mutex >, spdlog::sinks::android_sink< Mutex >, spdlog::sinks::basic_file_sink< Mutex >, spdlog::sinks::ostream_sink< Mutex >, and spdlog::sinks::null_sink< Mutex >.
|
protected |
Definition at line 66 of file base_sink.h.