Ark Server API (ASA) - Wiki
|
#include <AssertionMacros.h>
Static Public Member Functions | |
static void VARARGS | AssertFailed (const ANSICHAR *Expr, const ANSICHAR *File, int32 Line, const TCHAR *Format=TEXT(""),...) |
static void | AssertFailedV (const ANSICHAR *Expr, const ANSICHAR *File, int32 Line, const TCHAR *Format, va_list Args) |
static void | ProcessFatalError (void *ProgramCounter) |
static bool | HasAsserted () |
static bool | IsEnsuring () |
static SIZE_T | GetNumEnsureFailures () |
static void | DumpStackTraceToLog (const ELogVerbosity::Type LogVerbosity) |
static void | DumpStackTraceToLog (const TCHAR *Heading, const ELogVerbosity::Type LogVerbosity) |
static void | LogFormattedMessageWithCallstack (const FName &LogName, const ANSICHAR *File, int32 Line, const TCHAR *Heading, const TCHAR *Message, ELogVerbosity::Type Verbosity) |
FDebug These functions offer debugging and diagnostic functionality and its presence depends on compiler switches.
Definition at line 62 of file AssertionMacros.h.
|
static |
Logs final assert message and exits the program.
|
static |
|
static |
Dumps the stack trace into the log, meant to be used for debugging purposes.
|
static |
Dumps the stack trace into the log with a custom heading, meant to be used for debugging purposes.
|
static |
Logs an a message to the provided log channel. If a callstack is included (detected by lines starting with 0x) if will be logged in the standard Unreal format of [Callstack] Address FunctionInfo [File]
LogName | Log channel. If NAME_None then LowLevelOutputDebugStringf is used |
File | File name ANSI string (FILE) |
Line | Line number (LINE) |
Heading | Informative heading displayed above the message callstack |
Message | Multi-line message with a callstack |
Triggers a fatal error, using the error formatted to GErrorHist via a previous call to FMsg