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

Class LoggingSingletons

IntelPresentMon/PresentMonAPI2/Internal.h:16–24  ·  view source on GitHub ↗

log configuration support functions

Source from the content-addressed store, hash-verified

14
15// log configuration support functions
16struct LoggingSingletons
17{
18 std::function<pmon::util::log::GlobalPolicy& ()> getGlobalPolicy;
19 std::function<pmon::util::log::LineTable& ()> getLineTable;
20 operator bool() const noexcept
21 {
22 return getGlobalPolicy || getLineTable;
23 }
24};
25// function to connect (subordinate) the dll logging system to the exe one
26// replace default channel (nullptr) with a channel that copies entries to pChannel
27// optionally hook up an id table to copy entries to as well

Callers 1

Implementation.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected