Livox SDK API
V2.2.0
|
#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 ()=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 |
Additional Inherited Members | |
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 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 |
Implements spdlog::sinks::sink.
Definition at line 47 of file stdout_sinks.h.
|
inlineoverridevirtual |
Implements spdlog::sinks::sink.
Definition at line 38 of file stdout_sinks.h.
|
delete |
|
inlineoverridevirtual |
Implements spdlog::sinks::sink.
Definition at line 59 of file stdout_sinks.h.
|
inlineoverridevirtual |
Implements spdlog::sinks::sink.
Definition at line 53 of file stdout_sinks.h.