Guitarix
GxLogger Class Reference

#include <gx_logging.h>

Inheritance diagram for GxLogger:
Collaboration diagram for GxLogger:

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 GxLoggerget_logger ()
 
static void destroy ()
 

Friends

class GxLoggerGuard
 

Detailed Description

Definition at line 35 of file gx_logging.h.

Member Enumeration Documentation

Enumerator
kInfo 
kWarning 
kError 
kMessageTypeCount 

Definition at line 37 of file gx_logging.h.

Member Function Documentation

void GxLogger::destroy ( )
static

Definition at line 59 of file gx_logging.cpp.

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_engine::debug_trace_param(), and 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 ( )
void GxLogger::unplug_queue ( )

Friends And Related Function Documentation

friend class GxLoggerGuard
friend

Definition at line 62 of file gx_logging.h.


The documentation for this class was generated from the following files: