Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FDebug
Description
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]
| Name | LogFormattedMessageWithCallstack |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/AssertionMacros.h |
| Include Path | #include "Misc/AssertionMacros.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/AssertionMacros.cpp |
static void LogFormattedMessageWithCallstack
(
const FName & LogName,
const ANSICHAR * File,
int32 Line,
const TCHAR * Heading,
const TCHAR * Message,
ELogVerbosity::Type Verbosity
)
Parameters
| Name | Remarks |
|---|---|
| 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 |