Navigation
Unreal Engine C++ API Reference > Plugins > NetcodeUnitTest > FUnitLogInterface
- FUnitLogInterface::NotifyLocalLog()
- FUnitLogRedirect::NotifyLocalLog()
- UUnitTest::NotifyLocalLog()
References
Module | NetcodeUnitTest |
Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/UnitLogging.h |
Include | #include "UnitLogging.h" |
virtual void NotifyLocalLog
&40;
ELogType InLogType,
const TCHAR &42; Data,
ELogVerbosity::Type Verbosity,
const class FName & Category
&41;
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
Name | 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.) |