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

Method LogGuard

src/apputils/logGuard.cpp:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12LogGuard::LogGuard()
13 : m_logLevel(OCIO::GetLoggingLevel())
14{
15 OCIO::SetLoggingLevel(OCIO::LOGGING_LEVEL_DEBUG);
16 OCIO::SetLoggingFunction(&CustomLoggingFunction);
17}
18
19LogGuard::~LogGuard()
20{

Callers

nothing calls this directly

Calls 3

GetLoggingLevelFunction · 0.85
SetLoggingLevelFunction · 0.85
SetLoggingFunctionFunction · 0.85

Tested by

no test coverage detected