MCPcopy Create free account
hub / github.com/baldurk/renderdoc / RENDERDOC_SetDebugLogFile

Function RENDERDOC_SetDebugLogFile

renderdoc/replay/entry_points.cpp:255–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255extern "C" RENDERDOC_API void RENDERDOC_CC RENDERDOC_SetDebugLogFile(const rdcstr &log)
256{
257 if(!log.empty())
258 {
259 RDCLOGFILE(log.c_str());
260
261 // need to recreate the crash handler to propagate the new log filename.
262 RenderDoc::Inst().RecreateCrashHandler();
263 }
264}
265
266extern "C" RENDERDOC_API void RENDERDOC_CC RENDERDOC_LogMessage(LogType type, const rdcstr &project,
267 const rdcstr &file,

Callers 2

ExecuteMethod · 0.85
INTERNAL_SetDebugLogFileFunction · 0.85

Calls 3

RecreateCrashHandlerMethod · 0.80
emptyMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected