SLogWidget::AddLine

Adds a log line to the log window

Windows
MacOS
Linux

References

Module

NetcodeUnitTest

Header

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/UI/SLogWidget.h

Include

#include "UI/SLogWidget.h"

Source

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/UI/SLogWidget.cpp

Syntax

void AddLine
(
    ELogType InLogType,
    TSharedRef< FString > LogLine,
    FSlateColor LogColor,
    bool bTakeTabFocus
)

Remarks

Adds a log line to the log window

Parameters

Parameter

Description

InLogType

The type of log output this is (for filtering)

LogLine

The log line

LogColor

The colour to apply to the log line

bTakeTabFocus

If this log line isn't displayed on the currently focused tab, switch focus to a tab that does show it

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