MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / SetLoggingLevel

Function SetLoggingLevel

src/OpenColorIO/Logging.cpp:100–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void SetLoggingLevel(LoggingLevel level)
101{
102 AutoMutex lock(g_logmutex);
103 InitLogging();
104
105 // Calls to SetLoggingLevel are ignored if OCIO_LOGGING_LEVEL_ENVVAR
106 // is specified. This is to allow users to optionally debug OCIO at
107 // runtime even in applications that disable logging.
108
109 if(!g_loggingOverride)
110 {
111 g_logginglevel = level;
112 }
113}
114
115void SetLoggingFunction(LoggingFunction logFunction)
116{

Callers 14

LogGuardMethod · 0.85
~LogGuardMethod · 0.85
mainFunction · 0.85
mainFunction · 0.85
OCIO_ADD_TESTFunction · 0.85
LogGuardMethod · 0.85
~LogGuardMethod · 0.85
OCIO_ADD_TESTFunction · 0.85
OCIO_ADD_TESTFunction · 0.85
OCIO_ADD_TESTFunction · 0.85
OCIO_ADD_TESTFunction · 0.85

Calls 1

InitLoggingFunction · 0.85

Tested by 9

OCIO_ADD_TESTFunction · 0.68
LogGuardMethod · 0.68
~LogGuardMethod · 0.68
OCIO_ADD_TESTFunction · 0.68
OCIO_ADD_TESTFunction · 0.68
OCIO_ADD_TESTFunction · 0.68
OCIO_ADD_TESTFunction · 0.68
OCIO_ADD_TESTFunction · 0.68
OCIO_ADD_TESTFunction · 0.68