Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest
Inheritance Hierarchy
- FUnitLogInterface
- FUnitLogRedirect
- UMinimalClient
- UUnitTask
References
| Module | NetcodeUnitTest |
| Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/UnitLogging.h |
| Include | #include "UnitLogging.h" |
Syntax
class FUnitLogRedirect : public FUnitLogInterface
Remarks
Implements a UNIT_LOG interface, which redirects to another unit log interface (e.g. redirect MinimalClient UNIT_LOG's to a UnitTest)
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Base constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetInterface
(
FUnitLogInterface* InInterface |
Sets the interface we should redirect to |
Overridden from FUnitLogInterface
| Type | Name | Description | |
|---|---|---|---|
| UUnitTest * | GetUnitTest () |
If the log interface is tied to a unit test, this matches it up to an active unit test | |
| void | NotifyLocalLog
(
ELogType InLogType, |
Do NOT pass this back to TargetInterface, because if the TargetInterface is the source, we can't be the source (would cause an infinite loop, for UnitTask->ClientUnitTest->UnitTask) | |
| void | NotifyStatusLog
(
ELogType InLogType, |
As above, except for log entries directed towards the Unit Test Status window. | |
| void | SetLogColor
(
FSlateColor InLogColor |
Override the default log color |