Wire Sysio Wire Sysion 1.0.0
|
#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 fc::string &n) |
const fc::string & | name () const |
bool | is_enabled (log_level e) const |
void | log (log_message m) |
Static Public Member Functions | |
static logger | get (const fc::string &name=DEFAULT_LOGGER) |
static void | update (const fc::string &name, logger &log) |
Friends | |
struct | log_config |
bool | operator== (const logger &, nullptr_t) |
bool | operator!= (const logger &, nullptr_t) |
Definition at line 25 of file logger.hpp.
fc::logger::logger | ( | ) |
Definition at line 26 of file logger.cpp.
Definition at line 31 of file logger.cpp.
fc::logger::logger | ( | std::nullptr_t | ) |
fc::logger::logger | ( | const logger & | c | ) |
Definition at line 39 of file logger.cpp.
fc::logger::logger | ( | logger && | c | ) |
Definition at line 42 of file logger.cpp.
fc::logger::~logger | ( | ) |
Definition at line 45 of file logger.cpp.
|
static |
Definition at line 88 of file logger.cpp.
log_level fc::logger::get_log_level | ( | ) | const |
Definition at line 99 of file logger.cpp.
logger fc::logger::get_parent | ( | ) | const |
Definition at line 96 of file logger.cpp.
bool fc::logger::is_enabled | ( | log_level | e | ) | const |
Definition at line 58 of file logger.cpp.
void fc::logger::log | ( | log_message | m | ) |
Definition at line 62 of file logger.cpp.
const fc::string & fc::logger::name | ( | ) | const |
Definition at line 86 of file logger.cpp.
Definition at line 47 of file logger.cpp.
Definition at line 51 of file logger.cpp.
Definition at line 100 of file logger.cpp.
void fc::logger::set_name | ( | const fc::string & | n | ) |
Definition at line 85 of file logger.cpp.
Definition at line 97 of file logger.cpp.
|
static |
Definition at line 92 of file logger.cpp.
|
friend |
Definition at line 54 of file logger.hpp.