engine
 
载入中...
搜索中...
未找到
静态 Public 成员函数 | 所有成员列表
FDebug结构体 参考

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.

成员函数说明

◆ LogFormattedMessageWithCallstack()

static void FDebug::LogFormattedMessageWithCallstack ( const FName &  LogName,
const ANSICHAR *  File,
int32  Line,
const TCHAR *  Heading,
const TCHAR *  Message,
ELogVerbosity::Type  Verbosity 
)
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]

参数
LogNameLog channel. If NAME_None then LowLevelOutputDebugStringf is used
FileFile name ANSI string (FILE)
LineLine number (LINE)
HeadingInformative heading displayed above the message callstack
MessageMulti-line message with a callstack

该结构体的文档由以下文件生成: