10 #ifndef _Q_MESSAGEHANDLER_H_
11 #define _Q_MESSAGEHANDLER_H_
49 void Send(
MsgLevel l,
const std::string& sender,
const std::string& msg );
#define Q_BEGIN_NAMESPACE
static void Warn(const std::string &sender, const std::string &msg)
void Init(MsgLevel plevel, MsgLevel llevel, const std::string &logfile)
static QMessageHandler * Get()
void Send(MsgLevel l, const std::string &sender, const std::string &msg)
void SetLogVerbosity(MsgLevel logLevel)
static void Debug(const std::string &sender, const std::string &msg)
void SetScreenPrintLevel(MsgLevel l)
void SetPrintVerbosity(MsgLevel printLevel)
int GetLogPrintLevel() const
virtual ~QMessageHandler()
static void Info(const std::string &sender, const std::string &msg)
static void Panic(const std::string &sender, const std::string &msg)
static void Error(const std::string &sender, const std::string &msg)
int GetScreenPrintLevel() const
void SetLogPrintLevel(MsgLevel l)
static QMessageHandler * me
std::ostream & GetLogFile()