MCPcopy Create free account
hub / github.com/DragonJoker/RenderGraph / setDebugCallback

Method setDebugCallback

source/RenderGraph/Log.cpp:71–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 }
70
71 void Logger::setDebugCallback( LogCallback callback )
72 {
73 if ( callback )
74 doGetInstance().m_debug = std::move( callback );
75 else
76 doGetInstance().m_debug = []( std::string_view msg, bool newLine )noexcept { log::doLog( msg, newLine, stdout ); };
77 }
78
79 void Logger::setInfoCallback( LogCallback callback )
80 {

Callers

nothing calls this directly

Calls 1

doLogFunction · 0.85

Tested by

no test coverage detected