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

Function SetLoggingFunction

src/OpenColorIO/Logging.cpp:115–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void SetLoggingFunction(LoggingFunction logFunction)
116{
117 if (!logFunction)
118 {
119 throw Exception("SetLoggingFunction: logFunction must not be null.");
120 }
121 AutoMutex lock(g_logmutex);
122 g_loggingFunction = logFunction;
123}
124
125void ResetToDefaultLoggingFunction()
126{

Callers 5

LogGuardMethod · 0.85
mainFunction · 0.85
LogGuardMethod · 0.85
MuteLoggingMethod · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 3

LogGuardMethod · 0.68
MuteLoggingMethod · 0.68
mainFunction · 0.68