93 void Notify(
const char *pszFormat, ...);
129 int mInitializedFlag;
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Sink that the engine formats its diagnostic and failure text into.
Definition dbg.h:33
~Dbg()
Delete the log stream, without flushing it first.
Dbg * Print(const char *pszText)
Write literal text.
FailAbortProc mAbortProc
Handler that finishes a failure report.
Definition dbg.h:125
void Notify(const char *pszFormat,...)
Format a failure message and pass it to the installed report handler.
Dbg()
Install the built-in report handler with no log open and a dump level of zero.
int mDumpLevel
Detail level a dump routine tests before writing its optional sections.
Definition dbg.h:140
Dbg * Format(const char *pszFormat,...)
Format text into the secondary buffer without dispatching it.
void SetNotify(FailReportProc pfnReport)
Install the handler that receives formatted failure text.
void CloseLog()
Flush and delete the log stream, if one is open.
void OpenLog(const HxStr &path)
Replace the log with a file opened for writing.
Byte stream that every renderer object serialises itself through.
Definition stream.h:31
void(* FailReportProc)(const char *pszMessage)
Receives one fully formatted failure message.
Definition dbg.h:9
void(* FailAbortProc)()
Finishes a failure report.
Definition dbg.h:12
The rendering engine.
Definition animhelper.h:3
Dbg TheDbg
Engine-wide failure sink.