Navigation
API > API/Runtime > API/Runtime/Core
Scoped override for FMessageLog behavior. This can override the log behavior of a given named FMessageLog for the duration of the overrides lifetime, optionally suppressing output log mirroring, or promoting/demoting log categories (eg, to make errors act as warnings, or warnings act as errors).
| Name | FMessageLogScopedOverride |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Logging/MessageLog.h |
| Include Path | #include "Logging/MessageLog.h" |
Syntax
class FMessageLogScopedOverride
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMessageLogScopedOverride
(
const FName InLogName |
Logging/MessageLog.h | ||
| Logging/MessageLog.h | |||
| Logging/MessageLog.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FMessageLogScopedOverride() |
Logging/MessageLog.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bSuppressLoggingToOutputLog | TOptional< bool > | Logging/MessageLog.h | ||
| LogName | FName | Logging/MessageLog.h | ||
| MessageSeverityRemapping | TSortedMap< EMessageSeverity::Type, EMessageSeverity::Type > | Logging/MessageLog.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMessageLogScopedOverride & RemapMessageSeverity
(
const EMessageSeverity::Type SrcSeverity, |
Map category X to category Y when adding messages to this log | Logging/MessageLog.h | |
FMessageLogScopedOverride & SuppressLoggingToOutputLog
(
const bool bShouldSuppress |
Should we mirror message log messages to the output log during flush? | Logging/MessageLog.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMessageLogScopedOverride & operator=
(
const FMessageLogScopedOverride& |
Logging/MessageLog.h | ||
| Logging/MessageLog.h |