Classes |
class | CLog2 |
class | CLog2Factory |
Defines |
#define | AT __FILE__ ":" TOSTRING(__LINE__) |
#define | LOG2(obj, str, level) do {if ((level) >= (obj).getLevel()) { CCriticalSection logsection((obj).getStream()); (obj)(level) << str;}} while (0) |
#define | LOG2HDRDELIMLEFT "[" |
#define | LOG2HDRDELIMRIGHT "] " |
#define | LOG2OPENFILESSOFTLIMIT 100 |
#define | logClean(obj, str) LOG2(obj, str, llClean) |
#define | logCleanLn(obj, str) logClean(obj, str << std::endl) |
#define | logCrawl(obj, str) do {} while (0) |
#define | logCrawlLn(obj, str) logCrawl(obj, str << std::endl) |
#define | logCritical(obj, str) LOG2(obj, str, llCritical) |
#define | logCriticalLn(obj, str) logCritical(obj, str << std::endl) |
#define | logDebug(obj, str) LOG2(obj, str, llDebug) |
#define | logDebugLn(obj, str) logDebug(obj, str << std::endl) |
#define | logError(obj, str) LOG2(obj, str, llError) |
#define | logErrorLn(obj, str) logError(obj, str << std::endl) |
#define | logInfo(obj, str) LOG2(obj, str, llInfo) |
#define | logInfoLn(obj, str) logInfo(obj, str << std::endl) |
#define | logNotice(obj, str) LOG2(obj, str, llNotice) |
#define | logNoticeLn(obj, str) logNotice(obj, str << std::endl) |
#define | logWarning(obj, str) LOG2(obj, str, llWarning) |
#define | logWarningLn(obj, str) logWarning(obj, str << std::endl) |
#define | mLogAssert(B) logAssertLnInternal(mLog, "Assertion failed at " AT ": " #B, llError, B) |
#define | mLogClean(str) logClean(mLog, str) |
#define | mLogCleanLn(str) logCleanLn(mLog, str) |
#define | mLogCrawl(str) logCrawl(mLog, str) |
#define | mLogCrawlLn(str) logCrawlLn(mLog, str) |
#define | mLogCritical(str) logCritical(mLog, str) |
#define | mLogCriticalLn(str) logCriticalLn(mLog, str) |
#define | mLogDebug(str) logDebug(mLog, str) |
#define | mLogDebugLn(str) logDebugLn(mLog, str) |
#define | mLogError(str) logError(mLog, str) |
#define | mLogErrorLn(str) logErrorLn(mLog, str) |
#define | mLogInfo(str) logInfo(mLog, str) |
#define | mLogInfoLn(str) logInfoLn(mLog, str) |
#define | mLogNotice(str) logNotice(mLog, str) |
#define | mLogNoticeLn(str) logNoticeLn(mLog, str) |
#define | mLogWarning(str) logWarning(mLog, str) |
#define | mLogWarningLn(str) logWarningLn(mLog, str) |
#define | STRINGIFY(x) #x |
#define | TOSTRING(x) STRINGIFY(x) |
Functions |
CLog2Factory & | gLogFactory () |
bool | logAssertLnInternal (CLog2 &log, const char *msg, ELogLevel level, bool condition) |