Guitarix
|
#include <gx_logging.h>
Public Types | |
enum | MsgType { kInfo, kWarning, kError, kMessageTypeCount } |
Public Member Functions | |
void | unplug_queue () |
msg_signal & | signal_message () |
void | print (const char *func, const std::string &msg, MsgType msgtype) |
void | print (const std::string &formatted_msg, MsgType msgtype) |
Static Public Member Functions | |
static GxLogger & | get_logger () |
static void | destroy () |
Friends | |
class | GxLoggerGuard |
Definition at line 35 of file gx_logging.h.
enum GxLogger::MsgType |
Enumerator | |
---|---|
kInfo | |
kWarning | |
kError | |
kMessageTypeCount |
Definition at line 39 of file gx_logging.h.
|
static |
Definition at line 59 of file gx_logging.cpp.
|
static |
Definition at line 50 of file gx_logging.cpp.
Referenced by gx_print_logmsg(), GxService::GxService(), gx_system::CmdlineOptions::process(), and TextLoggingBox::TextLoggingBox().
void GxLogger::print | ( | const char * | func, |
const std::string & | msg, | ||
GxLogger::MsgType | msgtype | ||
) |
Definition at line 130 of file gx_logging.cpp.
Referenced by gx_print_logmsg().
void GxLogger::print | ( | const std::string & | formatted_msg, |
GxLogger::MsgType | msgtype | ||
) |
Definition at line 134 of file gx_logging.cpp.
GxLogger::msg_signal & GxLogger::signal_message | ( | ) |
Definition at line 77 of file gx_logging.cpp.
Referenced by GxService::GxService(), gx_system::CmdlineOptions::process(), and TextLoggingBox::TextLoggingBox().
void GxLogger::unplug_queue | ( | ) |
Definition at line 82 of file gx_logging.cpp.
Referenced by GxService::GxService(), and TextLoggingBox::TextLoggingBox().
|
friend |
Definition at line 64 of file gx_logging.h.