Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest
Generic log hook, for calling a hook function upon detecting a specific log entry
| Name | FLogHookManager |
| Type | class |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtilDebug.h |
| Include Path | #include "NUTUtilDebug.h" |
Syntax
class FLogHookManager : protected FOutputDevice
Inheritance Hierarchy
- FOutputDevice → FLogHookManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLogHookManager() |
NUTUtilDebug.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FLogHookManager() |
FLogHookManager | NUTUtilDebug.h |
Structs
| Name | Remarks |
|---|---|
| FLogHookEntry |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bWithinLogSerialize | bool | Guard bool for preventing recursive calls to Serialize | NUTUtilDebug.h | |
| LogHooks | TArray< FLogHookEntry > | List of active log hooks | NUTUtilDebug.h | |
| NextHookID | FLogHookID | Incrementing log hook ID | NUTUtilDebug.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLogHookID AddLogHook
(
FLogHook&& InHookFunc, |
Adds a log hook, with the specified matching | NUTUtilDebug.h | |
void RemoveLogHook
(
FLogHookID InHookID |
Removes a log hook using its unique id | NUTUtilDebug.h |