Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest > API/Plugins/NetcodeUnitTest/FUnitLogInterface
Description
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.
Derived Overrides
| Name | NotifyLocalLog |
| Type | function |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/UnitLogging.h |
| Include Path | #include "UnitLogging.h" |
virtual void NotifyLocalLog
(
ELogType InLogType,
const TCHAR * Data,
ELogVerbosity::Type Verbosity,
const class FName & Category
)
Parameters
| Name | Remarks |
|---|---|
| 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.) |