common log messages for ZFFramework More...
#include "ZFCoreLog.h"
Go to the source code of this file.
Macros | |
#define | ZFCoreLogCriticalMessage(fmt, ...) |
print a critical error message which is easy to notice | |
#define | ZFCoreLogCriticalMessageTrim(fmt, ...) |
see ZFCoreLogCriticalMessage | |
#define | ZFCoreLogCriticalMessageDetail(callerInfo, fmt, ...) |
see ZFCoreLogCriticalMessage | |
#define | ZFCoreAssert(exp) |
assert exp is zftrue | |
#define | ZFCoreAssertTrim(exp) |
see ZFCoreAssert | |
#define | ZFCoreAssertDetail(exp, callerInfo) |
see ZFCoreAssert | |
#define | ZFCoreCriticalMessage(fmt, ...) |
print a critical error message and abort | |
#define | ZFCoreCriticalMessageTrim(fmt, ...) |
see ZFCoreCriticalMessage | |
#define | ZFCoreCriticalMessageDetail(callerInfo, fmt, ...) |
see ZFCoreCriticalMessage | |
#define | ZFCoreAssertWithMessage(exp, fmt, ...) |
ZFCoreAssert with custom message | |
#define | ZFCoreAssertWithMessageTrim(exp, fmt, ...) |
see ZFCoreAssertWithMessage | |
#define | ZFCoreAssertWithMessageDetail(exp, callerInfo, fmt, ...) |
see ZFCoreAssertWithMessage | |
#define | ZFCoreCriticalIndexOutOfRange(index, range) |
log that likes "[file function (line)] index i out of range [0, n)" | |
#define | ZFCoreCriticalIndexOutOfRangeDetail(callerInfo, index, range) |
see ZFCoreCriticalIndexOutOfRange | |
#define | ZFCoreAssertIndexRange(index, range) |
log that likes "[file function (line)] index i out of range [0, n)" | |
#define | ZFCoreCriticalShouldNotGoHere() |
log that likes "[file function (line)] should not go here" | |
#define | ZFCoreCriticalShouldNotGoHereDetail(callerInfo) |
see ZFCoreCriticalShouldNotGoHere | |
#define | ZFCoreCriticalNotSupported() |
log that likes "[file function (line)] not supported" | |
#define | ZFCoreCriticalNotSupportedDetail(callerInfo) |
see ZFCoreCriticalNotSupported | |
Functions | |
void | ZFCoreAssertIndexRangeDetail (const ZFCallerInfo &callerInfo, zfindex index, zfindex range) |
see ZFCoreAssertIndexRange | |
common log messages for ZFFramework
used internally, you should use ZFLog instead
#define ZFCoreLogCriticalMessage | ( | fmt, | |
... ) |
print a critical error message which is easy to notice
log only, see also ZFCoreCriticalMessage
#define ZFCoreAssert | ( | exp | ) |
assert exp is zftrue
do nothing if exp is zftrue, otherwise, print a critical error message, then terminate app by ZFCoreCriticalError