Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest
Implements an interface for using the UNIT_LOG etc. macros above, within a class
| Name | FUnitLogInterface |
| Type | class |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/UnitLogging.h |
| Include Path | #include "UnitLogging.h" |
Syntax
class FUnitLogInterface
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUnitLogInterface() |
Base constructor | UnitLogging.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FUnitLogInterface() |
UnitLogging.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearLogColor() |
Resets the log color to default | UnitLogging.h | |
virtual UUnitTest * GetUnitTest () |
If the log interface is tied to a unit test, this matches it up to an active unit test | UnitLogging.h | |
virtual bool IsConnectionLogSource
(
UNetConnection* InConnection |
Whether or not this log interface is the source of a UNetConnection - used for deciding where to direct, UNetConnection log hooks | UnitLogging.h | |
virtual bool IsTimerLogSource
(
UObject* InTimerDelegateObject |
Whether or not this log interface is the source of an FTimerManager delegate object, used for hooking logs triggered during global timer manager delegates. | UnitLogging.h | |
virtual void NotifyLocalLog
(
ELogType InLogType, |
For implementation in subclasses, for helping to track local log entries related to a unit test. | UnitLogging.h | |
virtual void NotifyStatusLog
(
ELogType InLogType, |
As above, except for log entries directed towards the Unit Test Status window. | UnitLogging.h | |
virtual void SetLogColor
(
FSlateColor InLogColor |
Override the default log color | UnitLogging.h |