FOutputDeviceHelper::FormatCastAndSerializeLine

Formats, casts to ANSI char and serializes a message to archive.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/OutputDeviceHelper.h"

Source

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

Syntax

static void FormatCastAndSerializeLine
(
    class FArchive & Output,
    const TCHAR * Message,
    ELogVerbosity::Type Verbosity,
    const class FName & Category,
    const double Time,
    bool bSuppressEventTag,
    bool bAutoEmitLineTerminator
)

Remarks

Formats, casts to ANSI char and serializes a message to archive. Optimized for small number of allocations and Serialize calls

Parameters

Parameter

Description

Output

Output archive

Message

Log message

Verbosity

Message verbosity

Category

Message category

Time

Message time

bSuppressEventTag

True if the message date/time prefix should be suppressed

bAutoEmitLineTerminator

True if the message should be automatically appended with a line terminator

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