Oolite 1.91.0.7646-241128-10e222e
|
Go to the source code of this file.
Macros | |
#define | OOLog(class, format, ...) |
#define | OOLogWithArguments(class, format, args) |
#define | OOLogIndentIf(class) |
#define | OOLogOutdentIf(class) |
#define | OOLOG_ERROR_PREFIX @"***** ERROR: " |
#define | OOLOG_WARNING_PREFIX @"----- WARNING: " |
#define | OOLogERR(class, format, ...) |
#define | OOLogWARN(class, format, ...) |
#define | OOLogGenericParameterError() |
#define | OOLogGenericSubclassResponsibility() |
#define | NSLog(format, ...) |
#define | NSLogv(format, args) |
#define | OODebugLog(class, format, ...) |
#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, | |
... ) |
Definition at line 137 of file OOLogging.h.
Referenced by DirectoryExistCreatingIfNecessary().
#define NSLogv | ( | format, | |
args ) |
Definition at line 138 of file OOLogging.h.
#define OODebugLog | ( | class, | |
format, | |||
... ) |
Definition at line 146 of file OOLogging.h.
#define OOExtraLog OOLog |
Definition at line 152 of file OOLogging.h.
Referenced by Universe::addEntity:.
#define OOLog | ( | class, | |
format, | |||
... ) |
Definition at line 88 of file OOLogging.h.
Referenced by OOMeshToOctreeConverter::addTriangle:, OOConcreteTexture::apply, CacheRemoveOldest(), CanonicalizeMaterialSpecifier(), ClassifyLHSConditionSelector(), AI::clearAllData, NSFileManager(OOExtensions)::commanderContentsOfPath:, CompileSystemDescriptions(), NSString(OOJavaScriptExtensions)::concatenationOfStringsFromJavaScriptValues:count:separator:inContext:, CopyDataFromFile(), OOScript::descriptionComponents, DumpVariable(), ErrorCallback(), ExportSystemDescriptions(), fillSquareImageDataWithCloudTexture(), FloatRGBFromDictColor(), TextureStore::getCloudTextureNameFor:color:impress:intoData:width:height:, GetShaderSource(), GLDumpCullingState(), GLDumpFogState(), GLDumpLightState(), GLDumpMaterialState(), GLDumpStateFlags(), GlobalLog(), NSThread(MethodsThatMayExistDependingOnSystem)::isMainThread, KeyToIndex(), LogOpenGLState(), main(), MissionRunCallback(), OOCheckOpenGLErrors(), OOCPUInfoInit(), OOGenerateMipMaps(), OOInterpretTextureSpecifier(), OOJSBeginProfiling(), OOJSDumpStack(), OOJSEndProfiling(), OOJSProfileEnter(), OOJSStartTimeLimiterWithTimeLimit_(), OOJSStopTimeLimiter_(), OOJSUnreachable(), OOLogGenericParameterErrorForFunction(), OOLogGenericSubclassResponsibilityForFunction(), OOLogOutputHandlerInit(), OOPrintLogHeader(), OOPropertyListFromData(), OORandomPositionInCylinder(), OOSanitizeLegacyScriptConditionsInternal(), OOSanitizeLegacyScriptInternal(), OOStandardsInternal(), PNGError(), PNGWarning(), RemoveCallbackAtIndex(), ReportJSError(), SanitizeActionStatement(), SanitizeCondition(), SanitizeConditionalStatement(), SwitchLogFile(), TessVertexCallback(), TreeInsert(), TreeSplay(), ValueIfClass(), Universe::VerifyDescString, and VerifyOpenGLStateInternal().
#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, | |||
... ) |
Definition at line 112 of file OOLogging.h.
Referenced by ApplyOneOperator(), AI::clearAllData, NSFileManager(OOExtensions)::commanderContentsOfPath:, Universe::coordinatesForSystem:, OOScript::descriptionComponents, ExpandDigitKey(), ExpandStringKeyFromDescriptions(), main(), OperationCallback(), RandomSeedFromString(), ScanQuaternionFromString(), ScanVectorAndQuaternionFromString(), and ScanVectorFromString().
#define OOLogGenericParameterError | ( | ) |
Definition at line 125 of file OOLogging.h.
Referenced by EnsureCorrectDataSize(), EntityFromArgumentList(), and OOScalePixMap().
#define OOLogGenericSubclassResponsibility | ( | ) |
Definition at line 129 of file OOLogging.h.
#define OOLogIndentIf | ( | class | ) |
#define OOLogOutdentIf | ( | class | ) |
#define OOLogWARN | ( | class, | |
format, | |||
... ) |
Definition at line 113 of file OOLogging.h.
Referenced by OOInterpretTextureSpecifier(), OOLookUpPluralDescriptionPRIV(), RunDeferredOperations(), and TimerFinalize().
#define OOLogWithArguments | ( | class, | |
format, | |||
args ) |
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(), OOJSBeginProfiling(), OOJSProfileEnter(), and VerifyOpenGLStateInternal().
void OOLogOutdent | ( | void | ) |
Definition at line 376 of file OOLogging.m.
References GetIndentLevel(), INDENT_LOCK, INDENT_UNLOCK, and SetIndentLevel().
Referenced by OOTimeProfileEntry(Private)::addSampleWithTotalTime:selfTime:, GLDumpCullingState(), GLDumpFogState(), GLDumpLightState(), GLDumpMaterialState(), GLDumpStateFlags(), LogOpenGLState(), OOCheckOpenGLErrors(), OOJSEndProfiling(), and VerifyOpenGLStateInternal().
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().
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.