|
void | Init () override |
|
void | Destroy () override |
|
bool | IsDebuggerPresent () override |
|
void | Break () override |
| Breaks program execution immediately.
|
|
void | Crash () override |
| Crash the application.
|
|
void | Assert (const char *fileName, int line, const char *funcName, const char *format,...) override |
|
void | Error (const char *fileName, int line, const char *funcName, const char *window, const char *format,...) override |
|
void | Warning (const char *fileName, int line, const char *funcName, const char *window, const char *format,...) override |
|
void | Printf (const char *window, const char *format,...) override |
|
void | Output (const char *window, const char *message) override |
|
void | RawOutput (const char *window, const char *message) override |
| Called by output to handle the actual output, does not interact with ebus or allow interception.
|
|
void | PrintCallstack (const char *window, unsigned int suppressCount=0, void *nativeContext=nullptr) override |
|
| ITrace (const ITrace &)=delete |
|
| ITrace (ITrace &&)=default |
|
ITrace & | operator= (const ITrace &)=delete |
|
ITrace & | operator= (ITrace &&)=default |
|
virtual void | Init () |
|
virtual void | Destroy () |
|
virtual bool | IsDebuggerPresent () |
|
virtual void | Break () |
|
virtual void | Crash () |
|
bool | IsTraceLoggingEnabledForLevel (LogLevel level) |
| Indicates if trace logging functions are enabled based on compile mode and cvar logging level.
|
|
void | SetLogLevel (LogLevel newLevel) |
|
bool | GetAlwaysPrintCallstack () const |
|
void | SetAlwaysPrintCallstack (bool enable) |
|
virtual void | Assert (const char *fileName, int line, const char *funcName, const char *format,...) |
|
virtual void | Error (const char *fileName, int line, const char *funcName, const char *window, const char *format,...) |
|
virtual void | Warning (const char *fileName, int line, const char *funcName, const char *window, const char *format,...) |
|
virtual void | Printf (const char *window, const char *format,...) |
|
virtual void | Output (const char *window, const char *message) |
|
virtual void | RawOutput (const char *window, const char *message) |
|
virtual void | PrintCallstack (const char *, unsigned int=0, void *=nullptr) |
|
|
static int | GetAssertVerbosityLevel () |
|
static void | SetAssertVerbosityLevel (int level) |
|
static const char * | GetDefaultSystemWindow () |
|
static bool | AttachDebugger () |
|
static bool | WaitForDebugger (float timeoutSeconds=-1.f) |
|
static void | HandleExceptions (bool isEnabled) |
| True or false if we want to handle system exceptions.
|
|
static void | Terminate (int exitCode) |
| Terminates the process with the specified exit code.
|
|
static void * | GetNativeExceptionInfo () |
| PEXCEPTION_POINTERS on Windows, always NULL on other platforms.
|
|
static ITrace & | Instance () |
|