UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Net::FIrisLogOnceTracker Class Reference

#include <IrisLogUtils.h>

Public Member Functions

bool ShouldLog (uint32 Hash) const
 
bool ShouldLog (const FName &Name) const
 

Detailed Description

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.

Member Function Documentation

◆ ShouldLog() [1/2]

bool UE::Net::FIrisLogOnceTracker::ShouldLog ( const FName Name) const

Returns true if the hash of the Name has not been encountered in a call to ShouldLog before.

◆ ShouldLog() [2/2]

bool UE::Net::FIrisLogOnceTracker::ShouldLog ( uint32  Hash) const

Returns true if the Hash has not been encountered in a call to ShouldLog before.


The documentation for this class was generated from the following files: