#include <MessageLog.h>
◆ FMessageLog()
| FMessageLog::FMessageLog |
( |
const FName & |
InLogName | ) |
|
Constructor
- Parameters
-
| InLogName | the name of the log to use |
◆ ~FMessageLog()
| FMessageLog::~FMessageLog |
( |
| ) |
|
Destructor When this object goes out of scope, its buffered messages will be flushed.
◆ AddMessage()
Add a message to the log.
- Parameters
-
| InMessage | The message to add |
- Returns
- The message for chaining calls
◆ AddMessages()
Add an array of messages to the message log
- Parameters
-
| InMessages | The messages to add |
◆ CriticalError()
◆ DECLARE_DELEGATE() [1/2]
Delegates for multi-select of message token actors
◆ DECLARE_DELEGATE() [2/2]
◆ DECLARE_DELEGATE_OneParam()
Delegate used when message selection changes. This is used to select object in the scene according to objects referenced in message tokens.
◆ DECLARE_DELEGATE_RetVal_OneParam()
Delegate to retrieve a log interface. This allows systems that implement IMessageLog to receive messages.
◆ Error()
◆ Flush()
| void FMessageLog::Flush |
( |
| ) |
|
Send the currently buffered messages to the log & clear the buffer
◆ GetLogColor()
Helper function to retrieve a log color for a specified message severity
◆ GetLogVerbosity()
Helper function to convert message log severity to log verbosity
◆ Info()
◆ Message()
Helper functions to allow easy adding of messages to the log. Each one will add a token for the severity (if valid) and the textual message (if any). Messages are buffered.
- Parameters
-
| InSeverity | The severity of the message |
| InMessage | The message to use |
- Returns
- the message for chaining calls.
◆ NewPage()
| void FMessageLog::NewPage |
( |
const FText & |
InLabel | ) |
|
Add a new page to the log. Pages will not be created until messages are added to them, so we dont generate lots of empty pages. This call will cause a flush so that the logs state is properly reflected.
- Parameters
-
| InLabel | The label for the page. |
◆ Notify()
Notify the user with a message if there are messages present. This call will cause a flush so that the logs state is properly reflected.
- Parameters
-
| InMessage | The notification message. |
| InSeverityFilter | Only messages of higher severity than this filter will be considered when checking. |
| bForce | Notify anyway, even if the filters gives us no messages. |
◆ NumMessages()
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.
- Parameters
-
| InSeverityFilter | Only messages of higher severity than this filter will be considered when checking. |
- Returns
- The number of messages that pass our filter
◆ OnGetLog()
◆ OnMessageSelectionChanged()
◆ OnMultiSelectActorBegin()
◆ OnMultiSelectActorEnd()
◆ Open()
Opens the log for display to the user given certain conditions. This call will cause a flush so that the logs state is properly reflected.
- Parameters
-
| InSeverityFilter | Only messages of higher severity than this filter will be considered when checking. |
| bOpenEvenIfEmpty | Override the filter & log status & force the log to open. |
◆ PerformanceWarning()
◆ SetCurrentPage()
| void FMessageLog::SetCurrentPage |
( |
const FText & |
InLabel | ) |
|
Sets the current page to the one specified by the label. This call will cause a flush so that the logs state is properly reflected.
- Parameters
-
| InLabel | The label for the page. |
◆ SuppressLoggingToOutputLog()
Should we mirror message log messages from this instance to the output log during flush?
◆ Warning()
The documentation for this class was generated from the following files: