MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / SetupODSChannel

Function SetupODSChannel

IntelPresentMon/PresentMonMiddleware/LogSetup.cpp:135–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133 }
134
135 void SetupODSChannel(Level logLevel, Level stackTraceLevel, bool exceptionTrace) noexcept
136 {
137 GlobalPolicy::Get().SetLogLevel(logLevel);
138 GlobalPolicy::Get().SetTraceLevel(stackTraceLevel);
139 GlobalPolicy::Get().SetExceptionTrace(exceptionTrace);
140 InjectDefaultChannel(MakeODSChannel_());
141 }
142
143 void SetupDiagnosticChannel(const PM_DIAGNOSTIC_CONFIGURATION* pConfig) noexcept
144 {

Callers 1

pmSetupODSLogging_Function · 0.85

Calls 5

InjectDefaultChannelFunction · 0.85
MakeODSChannel_Function · 0.85
SetLogLevelMethod · 0.80
SetTraceLevelMethod · 0.80
SetExceptionTraceMethod · 0.80

Tested by

no test coverage detected