FOutputDeviceHelper::FormatLogLine

Formats a log line with date, time, category and verbosity prefix

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 FString FormatLogLine
(
    ELogVerbosity::Type Verbosity,
    const class FName & Category,
    const TCHAR * Message,
    ELogTimes::Type LogTime,
    const double Time
)

Remarks

Formats a log line with date, time, category and verbosity prefix

Returns

Formatted log line

Parameters

Parameter

Description

Verbosity

Message verbosity

Category

Message category

Message

Optional message text. If nullptr, only the date/time/category/verbosity prefix will be returned

LogTime

Time format

Time

Time in seconds

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