Navigation
API > API/Runtime > API/Runtime/IrisCore
Utility class to determine whether some message coupled to a hash hasn't been logged yet. Example usage would be for exmaple if you only want to log something once per class.
| Name | FIrisLogOnceTracker |
| Type | class |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/Core/IrisLogUtils.h |
| Include Path | #include "Iris/Core/IrisLogUtils.h" |
Syntax
class FIrisLogOnceTracker
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LoggedHashes | TSet< uint32 > | Iris/Core/IrisLogUtils.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ShouldLog
(
uint32 Hash |
Returns true if the Hash has not been encountered in a call to ShouldLog before. | Iris/Core/IrisLogUtils.h | |
| Returns true if the hash of the Name has not been encountered in a call to ShouldLog before. | Iris/Core/IrisLogUtils.h |