| FUnitLogInterface::NotifyLocalLog()
|
Module |
|
Header |
/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/UnitTest.h |
Include |
#include "UnitTest.h" |
Source |
/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/UnitTest.cpp |
virtual void NotifyLocalLog
(
ELogType InLogType,
const TCHAR * Data,
ELogVerbosity::Type Verbosity,
const class FName & Category
)
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.
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.) |