Livox SDK API
V2.2.0
|
#include <dist_sink.h>
Public Member Functions | |
dist_sink ()=default | |
dist_sink (const dist_sink &)=delete | |
dist_sink & | operator= (const dist_sink &)=delete |
void | add_sink (std::shared_ptr< sink > sink) |
void | remove_sink (std::shared_ptr< sink > sink) |
void | set_sinks (std::vector< std::shared_ptr< sink >> sinks) |
Public Member Functions inherited from spdlog::sinks::base_sink< Mutex > | |
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 | |
void | sink_it_ (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 |
Protected Attributes | |
std::vector< std::shared_ptr< sink > > | sinks_ |
Protected Attributes inherited from spdlog::sinks::base_sink< Mutex > | |
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 28 of file dist_sink.h.
|
default |
|
delete |
|
inline |
Definition at line 35 of file dist_sink.h.
|
inlineoverrideprotectedvirtual |
Implements spdlog::sinks::base_sink< Mutex >.
Definition at line 66 of file dist_sink.h.
|
delete |
|
inline |
Definition at line 41 of file dist_sink.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from spdlog::sinks::base_sink< Mutex >.
Definition at line 79 of file dist_sink.h.
|
inlineoverrideprotectedvirtual |
Reimplemented from spdlog::sinks::base_sink< Mutex >.
Definition at line 74 of file dist_sink.h.
|
inline |
Definition at line 47 of file dist_sink.h.
|
inlineoverrideprotectedvirtual |
Implements spdlog::sinks::base_sink< Mutex >.
Definition at line 54 of file dist_sink.h.
|
protected |
Definition at line 87 of file dist_sink.h.