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

Method LogGuard

tests/cpu/UnitTestLogUtils.cpp:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31} // anon.
32
33LogGuard::LogGuard()
34 : m_logLevel(GetLoggingLevel())
35{
36 SetLoggingLevel(LOGGING_LEVEL_DEBUG);
37 SetLoggingFunction(&CustomLoggingFunction);
38}
39
40LogGuard::LogGuard(LoggingLevel level)
41 : m_logLevel(GetLoggingLevel())

Callers

nothing calls this directly

Calls 3

GetLoggingLevelFunction · 0.85
SetLoggingLevelFunction · 0.85
SetLoggingFunctionFunction · 0.85

Tested by

no test coverage detected