Navigation
Unreal Engine C++ API Reference > Plugins > NetcodeUnitTest > FLogHookManager
References
Module | NetcodeUnitTest |
Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtilDebug.h |
Include | #include "NUTUtilDebug.h" |
Source | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/NUTUtilDebug.cpp |
FLogHookID AddLogHook
&40;
FLogHook && InHookFunc,
FString InMatchStr,
ELogHookType InHookType
&41;
Remarks
Adds a log hook, with the specified matching Returns a unique id for the newly added log hook entry, which should be used to remove it later
Parameters
Name | Description |
---|---|
InHookFunc | The log hook function to call upon match |
InMatchStr | The string to use for matching against log entries |
InHookType | The type of matching to use for the match string |