BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <logger.hpp>
Classes | |
class | impl |
Public Member Functions | |
logger () | |
logger (const string &name, const logger &parent=nullptr) | |
logger (std::nullptr_t) | |
logger (const logger &c) | |
logger (logger &&c) | |
~logger () | |
logger & | operator= (const logger &) |
logger & | operator= (logger &&) |
logger & | set_log_level (log_level e) |
log_level | get_log_level () const |
logger & | set_parent (const logger &l) |
logger | get_parent () const |
void | set_name (const std::string &n) |
const std::string & | name () const |
void | add_appender (const appender::ptr &a) |
std::vector< appender::ptr > | get_appenders () const |
void | remove_appender (const appender::ptr &a) |
bool | is_enabled (log_level e) const |
void | log (log_message m) |
Static Public Member Functions | |
static logger | get (const std::string &name="default") |
Friends | |
bool | operator== (const logger &, std::nullptr_t) |
bool | operator!= (const logger &, std::nullptr_t) |
Definition at line 21 of file logger.hpp.
fc::logger::logger | ( | ) |
Definition at line 28 of file logger.cpp.
fc::logger::logger | ( | const string & | name, |
const logger & | parent = nullptr |
||
) |
Definition at line 33 of file logger.cpp.
fc::logger::logger | ( | std::nullptr_t | ) |
Definition at line 31 of file logger.cpp.
fc::logger::logger | ( | const logger & | c | ) |
Definition at line 41 of file logger.cpp.
fc::logger::logger | ( | logger && | c | ) |
Definition at line 44 of file logger.cpp.
fc::logger::~logger | ( | ) |
Definition at line 47 of file logger.cpp.
void fc::logger::add_appender | ( | const appender::ptr & | a | ) |
Definition at line 99 of file logger.cpp.
|
static |
Definition at line 87 of file logger.cpp.
std::vector< appender::ptr > fc::logger::get_appenders | ( | ) | const |
Definition at line 109 of file logger.cpp.
log_level fc::logger::get_log_level | ( | ) | const |
Definition at line 96 of file logger.cpp.
logger fc::logger::get_parent | ( | ) | const |
Definition at line 93 of file logger.cpp.
bool fc::logger::is_enabled | ( | log_level | e | ) | const |
Definition at line 60 of file logger.cpp.
void fc::logger::log | ( | log_message | m | ) |
Definition at line 64 of file logger.cpp.
const std::string & fc::logger::name | ( | ) | const |
Definition at line 75 of file logger.cpp.
Definition at line 49 of file logger.cpp.
Definition at line 53 of file logger.cpp.
void fc::logger::remove_appender | ( | const appender::ptr & | a | ) |
Definition at line 102 of file logger.cpp.
Definition at line 97 of file logger.cpp.
void fc::logger::set_name | ( | const std::string & | n | ) |
Definition at line 74 of file logger.cpp.
Definition at line 94 of file logger.cpp.
Definition at line 58 of file logger.cpp.
|
friend |
Definition at line 57 of file logger.cpp.