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 34 of file gx_logging.h.
enum GxLogger::MsgType |
Enumerator | |
---|---|
kInfo | |
kWarning | |
kError | |
kMessageTypeCount |
Definition at line 37 of file gx_logging.h.
|
static |
Definition at line 58 of file gx_logging.cpp.
|
static |
Definition at line 49 of file gx_logging.cpp.
Referenced by gx_print_logmsg(), GxService::GxService(), and TextLoggingBox::TextLoggingBox().
void GxLogger::print | ( | const char * | func, |
const std::string & | msg, | ||
GxLogger::MsgType | msgtype | ||
) |
Definition at line 129 of file gx_logging.cpp.
Referenced by gx_print_logmsg().
void GxLogger::print | ( | const std::string & | formatted_msg, |
GxLogger::MsgType | msgtype | ||
) |
Definition at line 133 of file gx_logging.cpp.
GxLogger::msg_signal & GxLogger::signal_message | ( | ) |
Definition at line 76 of file gx_logging.cpp.
Referenced by GxService::GxService(), and TextLoggingBox::TextLoggingBox().
void GxLogger::unplug_queue | ( | ) |
Definition at line 81 of file gx_logging.cpp.
Referenced by GxService::GxService(), and TextLoggingBox::TextLoggingBox().
|
friend |
Definition at line 62 of file gx_logging.h.