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 | FLogStackTraceManager |
| Type | class |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtilDebug.h |
| Include Path | #include "NUTUtilDebug.h" |
Syntax
class FLogStackTraceManager : public FOutputDevice
Inheritance Hierarchy
- FOutputDevice → FLogStackTraceManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLogStackTraceManager() |
NUTUtilDebug.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FLogStackTraceManager() |
FLogStackTraceManager | NUTUtilDebug.h |
Structs
| Name | Remarks |
|---|---|
| FLogTraceEntry | Log trace entry |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ExactMatches | TArray< FLogTraceEntry > | List of exact log entries to watch for | NUTUtilDebug.h | |
| PartialMatches | TArray< FLogTraceEntry > | List of partial log entries to watch for | 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 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 | |
virtual void Serialize
(
const TCHAR* Data, |
We're hiding UObject::Serialize() by declaring this. That's OK, but Clang will warn about it. | NUTUtilDebug.h |