Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Logging
Inheritance Hierarchy
- FMessageLog
- FMessageLog
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Logging/MessageLog.h |
| Include | #include "Logging/MessageLog.h" |
Syntax
class FMessageLog
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMessageLog
(
const FName& InLogName |
Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FMessageLog () |
Destructor When this object goes out of scope, its buffered messages will be flushed. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TSharedRef< FTokenizedMessage > & | AddMessage
(
const TSharedRef< FTokenizedMessage >& InMessage |
Add a message to the log. | |
| void | AddMessages
(
const TArray< TSharedRef< FTokenizedMessage > >& InMessages |
Add an array of messages to the message log | |
| TSharedRef< FTokenizedMessage > | |||
| const TCHAR *const | GetLogColor
(
EMessageSeverity::Type InSeverity |
Helper function to retrieve a log color for a specified message severity | |
| ELogVerbosity::Type | GetLogVerbosity
(
EMessageSeverity::Type InSeverity |
Helper function to convert message log severity to log verbosity | |
| TSharedRef< FTokenizedMessage > | |||
| TSharedRef< FTokenizedMessage > | Message
(
EMessageSeverity::Type InSeverity, |
Helper functions to allow easy adding of messages to the log. | |
| void | Add a new page to the log. | ||
| void | Notify
(
const FText& InMessage, |
Notify the user with a message if there are messages present. | |
| int32 | NumMessages
(
EMessageSeverity::Type InSeverityFilter |
Check whether there are any messages present for this log. | |
| FGetLog & | OnGetLog () |
||
| FMessageSelectionChanged & | |||
| void | Open
(
EMessageSeverity::Type InSeverityFilter, |
Opens the log for display to the user given certain conditions. | |
| TSharedRef< FTokenizedMessage > | PerformanceWarning
(
const FText& InMessage |
||
| void | SetCurrentPage
(
const FText& InLabel |
Sets the current page to the one specified by the label. | |
| FMessageLog & | SuppressLoggingToOutputLog
(
bool bShouldSuppress |
Should we mirror message log messages from this instance to the output log during flush? | |
| TSharedRef< FTokenizedMessage > |
Typedefs
| Name | Description |
|---|---|
| FGetLog | Delegate to retrieve a log interface. |
| FMessageSelectionChanged | Delegate used when message selection changes. |
Constants
| Name | Description |
|---|---|
| GetLog | Delegate for retrieving the message log |
| MessageSelectionChanged | Delegate for message selection |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< FTokenizedMessage > | CriticalError
(
const FText& InMessage |
CriticalError was removed because it can't trigger an assert at the callsite. Use 'checkf' instead. |