Navigation
API > API/Runtime > API/Runtime/Core
A message log. Message logs can be written to from any module, incorporating rich tokenized information as well as text. Messages will be displayed to the standard log and the rich MessageLogListing if it is available.
| Name | IMessageLog |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Logging/IMessageLog.h |
| Include Path | #include "Logging/IMessageLog.h" |
Syntax
class IMessageLog
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IMessageLog() |
Virtual destructor | Logging/IMessageLog.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddMessage
(
const TSharedRef< class FTokenizedMessage >& NewMessage, |
Appends a single message | Logging/IMessageLog.h | |
void AddMessages
(
const TArray< TSharedRef< class FTokenizedMessage > >& NewMessages, |
Appends multiple messages | Logging/IMessageLog.h | |
| Adds a new page to the log. | Logging/IMessageLog.h | ||
void NotifyIfAnyMessages
(
const FText& Message, |
Notify the user if there are any messages on the current page for this log. | Logging/IMessageLog.h | |
int32 NumMessages
(
EMessageSeverity::Type SeverityFilter |
Checks to see if there are any messages according to the passed-in severity | Logging/IMessageLog.h | |
void Open() |
Opens up the message log to this listing. | Logging/IMessageLog.h | |
void SetCurrentPage
(
const FText& Title |
Sets the current page to the one specified by the title. | Logging/IMessageLog.h | |
void SetCurrentPage
(
const uint32 InOldPageIndex |
Sets the current page to the one specified by the title. | Logging/IMessageLog.h |