Livox SDK API
V2.2.0
|
#include <sink.h>
Public Member Functions | |
sink ()=default | |
sink (std::unique_ptr< spdlog::formatter > formatter) | |
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 |
bool | should_log (level::level_enum msg_level) const |
void | set_level (level::level_enum log_level) |
level::level_enum | level () const |
Protected Attributes | |
level_t | level_ {level::trace} |
std::unique_ptr< spdlog::formatter > | formatter_ {details::make_unique<spdlog::pattern_formatter>()} |
|
default |
|
inlineexplicit |
|
virtualdefault |
|
pure virtual |
|
inline |
|
pure virtual |
|
pure virtual |
|
inline |
|
pure virtual |
|
inline |
|
protected |
|
protected |