FMessageLog::NumMessages

Check whether there are any messages present for this log.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Logging/MessageLog.h

Include

#include "Logging/MessageLog.h"

Source

/Engine/Source/Runtime/Core/Private/Logging/MessageLog.cpp

Syntax

int32 NumMessages
(
    EMessageSeverity::Type InSeverityFilter
)

Remarks

Check whether there are any messages present for this log. If the log is paged, this will check if there are any messages on the current page. This call will cause a flush so that the logs state is properly reflected.

Returns

The number of messages that pass our filter

Parameters

Parameter

Description

InSeverityFilter

Only messages of higher severity than this filter will be considered when checking.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss