![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <LogScopedCategoryAndVerbosityOverride.h>
Classes | |
| struct | FOverride |
Public Member Functions | |
| CORE_API | FLogScopedCategoryAndVerbosityOverride (FName Category, ELogVerbosity::Type Verbosity) |
| CORE_API | ~FLogScopedCategoryAndVerbosityOverride () |
Static Public Member Functions | |
| static CORE_API FOverride * | GetTLSCurrent () |
Helper class that uses thread local storage to set up the default category and verbosity for the low level logging functions. This is what allow a UE_LOG(LogHAL, Log, TEXT("...")); within a UE_LOG statement to know what the category and verbosity is. When one of these goes out of scope, it restores the previous values.
| FLogScopedCategoryAndVerbosityOverride::FLogScopedCategoryAndVerbosityOverride | ( | FName | Category, |
| ELogVerbosity::Type | Verbosity | ||
| ) |
Back up the existing category and verbosity pair, then sets them.
| FLogScopedCategoryAndVerbosityOverride::~FLogScopedCategoryAndVerbosityOverride | ( | ) |
Restore the category and verbosity overrides to the previous value.
|
static |
Manages a TLS slot with the current overrides for category and verbosity.