![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IMessageLog.h>
Inheritance diagram for IMessageLog:Public Member Functions | |
| virtual | ~IMessageLog () |
| virtual void | AddMessage (const TSharedRef< class FTokenizedMessage > &NewMessage, bool bMirrorToOutputLog=true)=0 |
| virtual void | AddMessages (const TArray< TSharedRef< class FTokenizedMessage > > &NewMessages, bool bMirrorToOutputLog=true)=0 |
| virtual void | NewPage (const FText &Title)=0 |
| virtual void | SetCurrentPage (const FText &Title)=0 |
| virtual void | SetCurrentPage (const uint32 InOldPageIndex)=0 |
| virtual void | NotifyIfAnyMessages (const FText &Message, EMessageSeverity::Type SeverityFilter=EMessageSeverity::Info, bool bForce=false)=0 |
| virtual void | Open ()=0 |
| virtual int32 | NumMessages (EMessageSeverity::Type SeverityFilter)=0 |
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.
|
inlinevirtual |
Virtual destructor
|
pure virtual |
Appends a single message
| NewMessage | The message to append |
| bMirrorToOutputLog | Whether or not the message should also be mirrored to the output log |
Implemented in FBasicMessageLog.
|
pure virtual |
Appends multiple messages
| NewMessages | The messages to append. |
| bMirrorToOutputLog | Whether or not the messages should also be mirrored to the output log |
Implemented in FBasicMessageLog.
Adds a new page to the log. Old pages are only kept around if they contain messages, so if the current page is empty, this call does nothing.
| Title | the title of the new page |
Implemented in FBasicMessageLog.
|
pure virtual |
Notify the user if there are any messages on the current page for this log. If there are no messages present, this call does nothing.
| Message | The message to display in the notification. |
| SeverityFilter | Notifications will only be displayed if there are messages present that are of equal or greater severity than this. |
| bForce | Notify anyway, even if the filters gives us no messages. |
Implemented in FBasicMessageLog.
|
pure virtual |
Checks to see if there are any messages according to the passed-in severity
| SeverityFilter | Function will only return true if all the messages are of equal or greater severity than this. |
Implemented in FBasicMessageLog.
Opens up the message log to this listing.
Implemented in FBasicMessageLog.
Sets the current page to the one specified by the title.
| Title | the title of the page to switch to |
Implemented in FBasicMessageLog.
Sets the current page to the one specified by the title.
| InOldPageIndex | the index of the page to switch to. This page will move to index 0. |
Implemented in FBasicMessageLog.