#include <android_sink.h>
Public Member Functions | |
android_sink (std::string tag="spdlog", bool use_raw_msg=false) | |
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 () | |
sink (std::unique_ptr< spdlog::pattern_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 |
Protected Member Functions inherited from spdlog::sinks::base_sink< Mutex > | |
virtual void | set_pattern_ (const std::string &pattern) |
virtual void | set_formatter_ (std::unique_ptr< spdlog::formatter > sink_formatter) |
Static Private Member Functions | |
static android_LogPriority | convert_to_android_ (spdlog::level::level_enum level) |
Private Attributes | |
std::string | tag_ |
bool | use_raw_msg_ |
Additional Inherited Members | |
Protected Attributes inherited from spdlog::sinks::base_sink< Mutex > | |
Mutex | mutex_ |
Protected Attributes inherited from spdlog::sinks::sink | |
level_t | level_ |
std::unique_ptr< spdlog::formatter > | formatter_ |
Definition at line 34 of file android_sink.h.
|
inlineexplicit |
Definition at line 37 of file android_sink.h.
|
inlinestaticprivate |
Definition at line 78 of file android_sink.h.
|
inlineoverrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |
Implements spdlog::sinks::base_sink< Mutex >.
Definition at line 44 of file android_sink.h.
|
private |
Definition at line 99 of file android_sink.h.
|
private |
Definition at line 100 of file android_sink.h.