UUnitTest::NotifyLocalLog

For implementation in subclasses, for helping to track local log entries related to a unit test.

Windows
MacOS
Linux

Override Hierarchy

FUnitLogInterface::NotifyLocalLog()

UUnitTest::NotifyLocalLog()

References

Module

NetcodeUnitTest

Header

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/UnitTest.h

Include

#include "UnitTest.h"

Source

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/UnitTest.cpp

Syntax

virtual void NotifyLocalLog
(
    ELogType InLogType,
    const TCHAR * Data,
    ELogVerbosity::Type Verbosity,
    const class FName & Category
)

Remarks

For implementation in subclasses, for helping to track local log entries related to a unit test. This covers logs from within the unit test, and (for UClientUnitTest) from processing net packets related to a unit test.

NOTE: The parameters are the same as the unprocessed log 'serialize' parameters, to convert to a string, use: FOutputDeviceHelper::FormatLogLine(Verbosity, Category, Data, GPrintLogTimes)

NOTE: Verbosity ELogVerbosity::SetColor is a special category, whose log messages can be ignored.

Parameters

Parameter

Description

InLogType

The type of local log message this is

Data

The base log message being written

Verbosity

The warning/filter level for the log message

Category

The log message category (LogNet, LogNetTraffic etc.)

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