A message log. 更多...
#include <IMessageLog.h>
Public 成员函数 | |
| virtual void | AddMessage (const TSharedRef< class FTokenizedMessage > &NewMessage, bool bMirrorToOutputLog=true)=0 |
| Appends a single message 更多... | |
| virtual void | AddMessages (const TArray< TSharedRef< class FTokenizedMessage > > &NewMessages, bool bMirrorToOutputLog=true)=0 |
| Appends multiple messages 更多... | |
| virtual void | NewPage (const FText &Title)=0 |
| Adds a new page to the log. 更多... | |
| virtual void | NotifyIfAnyMessages (const FText &Message, EMessageSeverity::Type SeverityFilter=EMessageSeverity::Info, bool bForce=false)=0 |
| Notify the user if there are any messages on the current page for this log. 更多... | |
| virtual int32 | NumMessages (EMessageSeverity::Type SeverityFilter)=0 |
| Checks to see if there are any messages according to the passed-in severity 更多... | |
| virtual void | Open ()=0 |
| Opens up the message log to this listing. | |
| virtual | ~IMessageLog () |
| Virtual destructor | |
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.
|
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 |
|
pure virtual |
Appends multiple messages
| NewMessages | The messages to append. |
| bMirrorToOutputLog | Whether or not the messages should also be mirrored to the output log |
|
pure virtual |
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 |
|
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. |
|
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. |