|
Oolite
|
Include dependency graph for OOLogging.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | OOLog(class, format, ...) do { if (OOLogWillDisplayMessagesInClass(class)) { OOLogWithFunctionFileAndLine(class, OOLOG_FUNCTION_NAME, OOLOG_FILE_NAME, __LINE__, format, ## __VA_ARGS__); }} while (0) |
| #define | OOLogWithArguments(class, format, args) do { if (OOLogWillDisplayMessagesInClass(class)) { OOLogWithFunctionFileAndLineAndArguments(class, OOLOG_FUNCTION_NAME, OOLOG_FILE_NAME, __LINE__, format, args); }} while (0) |
| #define | OOLogIndentIf(class) do { if (OOLogWillDisplayMessagesInClass(class)) OOLogIndent(); } while (0) |
| #define | OOLogOutdentIf(class) do { if (OOLogWillDisplayMessagesInClass(class)) OOLogOutdent(); } while (0) |
| #define | OOLOG_ERROR_PREFIX @"***** ERROR: " |
| #define | OOLOG_WARNING_PREFIX @"----- WARNING: " |
| #define | OOLogERR(class, format, ...) OOLogWithPrefix(class, OOLOG_FUNCTION_NAME, OOLOG_FILE_NAME, __LINE__, OOLOG_ERROR_PREFIX ,format, ## __VA_ARGS__) |
| #define | OOLogWARN(class, format, ...) OOLogWithPrefix(class, OOLOG_FUNCTION_NAME, OOLOG_FILE_NAME, __LINE__, OOLOG_WARNING_PREFIX, format, ## __VA_ARGS__) |
| #define | OOLogGenericParameterError() OOLogGenericParameterErrorForFunction(OOLOG_FUNCTION_NAME) |
| #define | OOLogGenericSubclassResponsibility() OOLogGenericSubclassResponsibilityForFunction(OOLOG_FUNCTION_NAME) |
| #define | NSLog(format, ...) OOLog(kOOLogUnconvertedNSLog, format, ## __VA_ARGS__) |
| #define | NSLogv(format, args) OOLogWithArguments(kOOLogUnconvertedNSLog, format, args) |
| #define | OODebugLog(class, format, ...) do { (void)class; if (0) (void)format; } while (0) |
| #define | OOExtraLog OOLog |
Functions | |
| BOOL | OOLogWillDisplayMessagesInClass (NSString *inMessageClass) |
| void | OOLogIndent (void) |
| void | OOLogOutdent (void) |
| void | OOLogPushIndent (void) |
| void | OOLogPopIndent (void) |
| void | OOLogWithPrefix (NSString *inMessageClass, const char *inFunction, const char *inFile, unsigned long inLine, NSString *inPrefix, NSString *inFormat,...) OO_TAKES_FORMAT_STRING(6 |
| void void | OOLogWithFunctionFileAndLine (NSString *inMessageClass, const char *inFunction, const char *inFile, unsigned long inLine, NSString *inFormat,...) OO_TAKES_FORMAT_STRING(5 |
| void void void | OOLogWithFunctionFileAndLineAndArguments (NSString *inMessageClass, const char *inFunction, const char *inFile, unsigned long inLine, NSString *inFormat, va_list inArguments) OO_TAKES_FORMAT_STRING(5 |
| void | OOLogGenericParameterErrorForFunction (const char *inFunction) |
| void | OOLogGenericSubclassResponsibilityForFunction (const char *inFunction) |
Variables | |
| NSString *const | kOOLogSubclassResponsibility |
| NSString *const | kOOLogParameterError |
| NSString *const | kOOLogDeprecatedMethod |
| NSString *const | kOOLogAllocationFailure |
| NSString *const | kOOLogInconsistentState |
| NSString *const | kOOLogException |
| NSString *const | kOOLogFileNotFound |
| NSString *const | kOOLogFileNotLoaded |
| NSString *const | kOOLogOpenGLError |
| NSString *const | kOOLogUnconvertedNSLog |
| #define NSLog | ( | format, | |
| ... | |||
| ) | OOLog(kOOLogUnconvertedNSLog, format, ## __VA_ARGS__) |
Definition at line 137 of file OOLogging.h.
| #define NSLogv | ( | format, | |
| args | |||
| ) | OOLogWithArguments(kOOLogUnconvertedNSLog, format, args) |
Definition at line 138 of file OOLogging.h.
| #define OODebugLog | ( | class, | |
| format, | |||
| ... | |||
| ) | do { (void)class; if (0) (void)format; } while (0) |
Definition at line 146 of file OOLogging.h.
| #define OOExtraLog OOLog |
Definition at line 152 of file OOLogging.h.
| #define OOLog | ( | class, | |
| format, | |||
| ... | |||
| ) | do { if (OOLogWillDisplayMessagesInClass(class)) { OOLogWithFunctionFileAndLine(class, OOLOG_FUNCTION_NAME, OOLOG_FILE_NAME, __LINE__, format, ## __VA_ARGS__); }} while (0) |
Definition at line 88 of file OOLogging.h.
| #define OOLOG_ERROR_PREFIX @"***** ERROR: " |
Definition at line 109 of file OOLogging.h.
| #define OOLOG_WARNING_PREFIX @"----- WARNING: " |
Definition at line 110 of file OOLogging.h.
| #define OOLogERR | ( | class, | |
| format, | |||
| ... | |||
| ) | OOLogWithPrefix(class, OOLOG_FUNCTION_NAME, OOLOG_FILE_NAME, __LINE__, OOLOG_ERROR_PREFIX ,format, ## __VA_ARGS__) |
Definition at line 112 of file OOLogging.h.
| #define OOLogGenericParameterError | ( | ) | OOLogGenericParameterErrorForFunction(OOLOG_FUNCTION_NAME) |
Definition at line 125 of file OOLogging.h.
| #define OOLogGenericSubclassResponsibility | ( | ) | OOLogGenericSubclassResponsibilityForFunction(OOLOG_FUNCTION_NAME) |
Definition at line 129 of file OOLogging.h.
| #define OOLogIndentIf | ( | class | ) | do { if (OOLogWillDisplayMessagesInClass(class)) OOLogIndent(); } while (0) |
Definition at line 101 of file OOLogging.h.
| #define OOLogOutdentIf | ( | class | ) | do { if (OOLogWillDisplayMessagesInClass(class)) OOLogOutdent(); } while (0) |
Definition at line 102 of file OOLogging.h.
| #define OOLogWARN | ( | class, | |
| format, | |||
| ... | |||
| ) | OOLogWithPrefix(class, OOLOG_FUNCTION_NAME, OOLOG_FILE_NAME, __LINE__, OOLOG_WARNING_PREFIX, format, ## __VA_ARGS__) |
Definition at line 113 of file OOLogging.h.
| #define OOLogWithArguments | ( | class, | |
| format, | |||
| args | |||
| ) | do { if (OOLogWillDisplayMessagesInClass(class)) { OOLogWithFunctionFileAndLineAndArguments(class, OOLOG_FUNCTION_NAME, OOLOG_FILE_NAME, __LINE__, format, args); }} while (0) |
Definition at line 89 of file OOLogging.h.
| void OOLogGenericParameterErrorForFunction | ( | const char * | inFunction | ) |
Definition at line 495 of file OOLogging.m.
References kOOLogParameterError, and OOLog.
| void OOLogGenericSubclassResponsibilityForFunction | ( | const char * | inFunction | ) |
Definition at line 501 of file OOLogging.m.
References kOOLogSubclassResponsibility, and OOLog.
| void OOLogIndent | ( | void | ) |
Definition at line 366 of file OOLogging.m.
References GetIndentLevel(), INDENT_LOCK, INDENT_UNLOCK, and SetIndentLevel().
Referenced by GLDumpCullingState(), GLDumpFogState(), GLDumpLightState(), GLDumpMaterialState(), GLDumpStateFlags(), LogOpenGLState(), OOCheckOpenGLErrors(), and VerifyOpenGLStateInternal().
Here is the call graph for this function:
Here is the caller graph for this function:| void OOLogOutdent | ( | void | ) |
Definition at line 376 of file OOLogging.m.
References GetIndentLevel(), INDENT_LOCK, INDENT_UNLOCK, and SetIndentLevel().
Referenced by GLDumpCullingState(), GLDumpFogState(), GLDumpLightState(), GLDumpMaterialState(), GLDumpStateFlags(), LogOpenGLState(), OOCheckOpenGLErrors(), and VerifyOpenGLStateInternal().
Here is the call graph for this function:
Here is the caller graph for this function:| void OOLogPopIndent | ( | void | ) |
Definition at line 340 of file OOLogging.m.
References nil, OOLOG_BAD_POP_INDENT, and OOLogInternal.
| void OOLogPushIndent | ( | void | ) |
Definition at line 316 of file OOLogging.m.
References OOLogIndentStackElement::indent, OOLogIndentStackElement::link, and nil.
| BOOL OOLogWillDisplayMessagesInClass | ( | NSString * | inMessageClass | ) |
Definition at line 144 of file OOLogging.m.
References EXPECT_NOT, Inited(), kTrueToken, nil, OOLOG_SETTING_RETRIEVE, OOLogInternal, ResolveDisplaySetting(), sDerivedSettingsCache, sOverrideInEffect, and sOverrideValue.
Referenced by ConsoleDisplayMessagesInClass(), GlobalLog(), LogOpenGLState(), OOCheckOpenGLErrors(), OOLogWithFunctionFileAndLineAndArguments(), OOLogWithPrefix(), OONSLogCStringFunction(), ReportJSError(), SyntaxIssue(), and VerifyOpenGLStateInternal().
Here is the call graph for this function:
Here is the caller graph for this function:| void void OOLogWithFunctionFileAndLine | ( | NSString * | inMessageClass, |
| const char * | inFunction, | ||
| const char * | inFile, | ||
| unsigned long | inLine, | ||
| NSString * | inFormat, | ||
| ... | |||
| ) |
| void void void OOLogWithFunctionFileAndLineAndArguments | ( | NSString * | inMessageClass, |
| const char * | inFunction, | ||
| const char * | inFile, | ||
| unsigned long | inLine, | ||
| NSString * | inFormat, | ||
| va_list | inArguments | ||
| ) |
| void OOLogWithPrefix | ( | NSString * | inMessageClass, |
| const char * | inFunction, | ||
| const char * | inFile, | ||
| unsigned long | inLine, | ||
| NSString * | inPrefix, | ||
| NSString * | inFormat, | ||
| ... | |||
| ) |
|
extern |
Definition at line 649 of file OOLogging.m.
Referenced by OOMeshToOctreeConverter::addTriangle:.
|
extern |
Definition at line 648 of file OOLogging.m.
|
extern |
Definition at line 651 of file OOLogging.m.
Referenced by AI::clearAllData, main(), MissionRunCallback(), and OOJSDumpStack().
|
extern |
Definition at line 652 of file OOLogging.m.
Referenced by CopyDataFromFile(), and GetShaderSource().
|
extern |
Definition at line 653 of file OOLogging.m.
|
extern |
Definition at line 650 of file OOLogging.m.
|
extern |
Definition at line 654 of file OOLogging.m.
Referenced by OOCheckOpenGLErrors().
|
extern |
Definition at line 647 of file OOLogging.m.
Referenced by OOConcreteTexture::apply, OOGenerateMipMaps(), OOInterpretTextureSpecifier(), and OOLogGenericParameterErrorForFunction().
|
extern |
Definition at line 646 of file OOLogging.m.
Referenced by OOLogGenericSubclassResponsibilityForFunction().
|
extern |
Definition at line 655 of file OOLogging.m.