FDebug::LogFormattedMessageWithCallstack

Logs an a message to the provided log channel.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/AssertionMacros.h

Include

#include "Misc/AssertionMacros.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/AssertionMacros.cpp

Syntax

static void LogFormattedMessageWithCallstack
(
    const FName & LogName,
    const ANSICHAR * File,
    int32 Line,
    const TCHAR * Heading,
    const TCHAR * Message,
    ELogVerbosity::Type Verbosity
)

Remarks

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]

Parameters

Parameter

Description

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss