FTokenizedMessage::Create

Creates a new [FTokenizedMessage](API\Runtime\Core\Logging\FTokenizedMessage)

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Logging/TokenizedMessage.h

Include

#include "Logging/TokenizedMessage.h"

Source

/Engine/Source/Runtime/Core/Private/Logging/TokenizedMessage.cpp

Syntax

static TSharedRef< FTokenizedMessage > Create
(
    EMessageSeverity::Type InSeverity,
    const FText & InMessageText
)

Remarks

Creates a new FTokenizedMessage

Returns

the generated message for temporary storage or so other tokens can be added to it if required.

Parameters

Parameter

Description

InSeverity

The severity of the message.

InMessageString

The string to display for this message. If this is not empty, then a string token will be added to this message.

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