BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <console_appender.hpp>
Classes | |
struct | color |
struct | config |
class | impl |
struct | level_color |
struct | stream |
Public Member Functions | |
console_appender (const variant &args) | |
console_appender (const config &cfg) | |
console_appender () | |
~console_appender () | |
virtual void | log (const log_message &m) |
void | print (const std::string &text_to_print, color::type text_color=color::console_default) |
void | configure (const config &cfg) |
Public Member Functions inherited from fc::appender | |
virtual | ~appender ()=default |
Additional Inherited Members | |
Public Types inherited from fc::appender | |
typedef std::shared_ptr< appender > | ptr |
Static Public Member Functions inherited from fc::appender | |
template<typename T > | |
static bool | register_appender (const std::string &type) |
static appender::ptr | create (const std::string &name, const std::string &type, const variant &args) |
static appender::ptr | get (const std::string &name) |
static bool | register_appender (const std::string &type, const appender_factory::ptr &f) |
Definition at line 8 of file console_appender.hpp.
fc::console_appender::console_appender | ( | const variant & | args | ) |
Definition at line 30 of file console_appender.cpp.
fc::console_appender::console_appender | ( | const config & | cfg | ) |
Definition at line 36 of file console_appender.cpp.
fc::console_appender::console_appender | ( | ) |
Definition at line 41 of file console_appender.cpp.
fc::console_appender::~console_appender | ( | ) |
Definition at line 64 of file console_appender.cpp.
void fc::console_appender::configure | ( | const config & | cfg | ) |
Definition at line 45 of file console_appender.cpp.
|
virtual |
Implements fc::appender.
Definition at line 90 of file console_appender.cpp.
void fc::console_appender::print | ( | const std::string & | text_to_print, |
color::type | text_color = color::console_default |
||
) |
Definition at line 128 of file console_appender.cpp.