Navigation
API > API/Runtime > API/Runtime/Core
Helper class that allows setting scoped verbosity for log category. Saved what was previous verbosity for the category, and recovers it when it goes out of scope. Use Macro LOG_SCOPE_VERBOSITY_OVERRIDE for this
| Name | FLogScopedVerbosityOverride |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Logging/LogScopedVerbosityOverride.h |
| Include Path | #include "Logging/LogScopedVerbosityOverride.h" |
Syntax
class FLogScopedVerbosityOverride
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Disable accidental copies. | Logging/LogScopedVerbosityOverride.h | ||
FLogScopedVerbosityOverride
(
FLogCategoryBase* Category, |
Back up the existing verbosity for the category then sets new verbosity. | Logging/LogScopedVerbosityOverride.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FLogScopedVerbosityOverride() |
Restore the verbosity overrides for the category to the previous value. | Logging/LogScopedVerbosityOverride.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SavedCategory | FLogCategoryBase * | Backup of the category, verbosity pairs that was present when we were constructed | Logging/LogScopedVerbosityOverride.h | |
| SavedVerbosity | ELogVerbosity::Type | Logging/LogScopedVerbosityOverride.h |
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLogScopedVerbosityOverride & operator=
(
const FLogScopedVerbosityOverride& |
Logging/LogScopedVerbosityOverride.h |