Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest
A log hook, which watches the log for specified log entries, and ties them into the stack trace manager
Most easily used through the LogTrace console command, as documented in UnitTestManager.cpp
| Name | FLogTraceManager |
| Type | class |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtilDebug.h |
| Include Path | #include "NUTUtilDebug.h" |
Syntax
class FLogTraceManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLogTraceManager() |
NUTUtilDebug.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FLogTraceManager() |
FLogTraceManager | NUTUtilDebug.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HookIDs | TArray< FLogHookID > | Active log hook ID's, for later cleanup | NUTUtilDebug.h | |
| HookMap | TMap< FString, FLogHookID > | Active log matching strings and their ID, for tracking and cleanup | NUTUtilDebug.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddLogTrace
(
FString LogLine, |
Adds a log line for log trace tracking NOTE: The LogLine does NOT match the category or verbosity (e.g. LogNet or Warning/Verbose) of logs NOTE: Partial matches, will output to log when encountered, so matched logs can be identified | NUTUtilDebug.h | |
void ClearAll
(
bool bDump |
Clears all log tracing | NUTUtilDebug.h | |
void ClearLogTrace
(
FString LogLine, |
Removes a log line from trace tracking | NUTUtilDebug.h |