23 #include "../Util/GlobalDefines.h" 24 #include "../Util/InlineFunctions.h" 72 CMessage(
const char* pcClassName,
int iDebugLevel = 0,
bool bDebug =
true,
bool bDebugFile =
false);
89 int initMessage(
const char* pcClassName,
int iDebuglevel = 0,
bool bDebug =
true,
bool bDebugFile =
false);
101 void logging(
const char *pcLoggingMessage,...);
104 void debug(
const int iDebugLevel,
105 const char *pcDebugMessage,...)
const;
108 void warning(
const char *pcWarningMessage,...)
const;
111 void error(
const int iErrorCode,
112 const char *pcErrorMessage,...)
const;
113 void error(
const char *pcErrorMessage,...)
const;
void setDebug(bool bFlag)
static void setCriticalSection(CRITICAL_SECTION *cs)
int initMessage(const char *pcClassName, int iDebuglevel=0, bool bDebug=true, bool bDebugFile=false)
void error(const int iErrorCode, const char *pcErrorMessage,...) const
int getDebugLevel() const
void warning(const char *pcWarningMessage,...) const
void setDebugLevel(int iLevel)
void setDebugFile(bool bFlag)
static CRITICAL_SECTION * m_csMessage
static double m_fInitTime
void debug(const int iDebugLevel, const char *pcDebugMessage,...) const
void logging(const char *pcLoggingMessage,...)
CMessage & operator=(const CMessage &clMessage)
const char * g_pcDebugFileName