FDebug These functions offer debugging and diagnostic functionality and its presence depends on compiler switches. 更多...
#include <AssertionMacros.h>
静态 Public 成员函数 | |
| static void VARARGS | AssertFailed (const ANSICHAR *Expr, const ANSICHAR *File, int32 Line, const TCHAR *Format=TEXT(""),...) |
| Logs final assert message and exits the program. | |
| static void | DumpStackTraceToLog (const ELogVerbosity::Type LogVerbosity) |
| Dumps the stack trace into the log, meant to be used for debugging purposes. | |
| static void | DumpStackTraceToLog (const TCHAR *Heading, const ELogVerbosity::Type LogVerbosity) |
| Dumps the stack trace into the log with a custom heading, meant to be used for debugging purposes. | |
| static void | LogFormattedMessageWithCallstack (const FName &LogName, const ANSICHAR *File, int32 Line, const TCHAR *Heading, const TCHAR *Message, ELogVerbosity::Type Verbosity) |
| Logs an a message to the provided log channel. 更多... | |
| static void | ProcessFatalError () |
| Triggers a fatal error, using the error formatted to GErrorHist via a previous call to FMsg | |
FDebug These functions offer debugging and diagnostic functionality and its presence depends on compiler switches.
|
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 |