UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
WarnFilterScope.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4#include "HAL/Platform.h"
6
8
9struct FFilterFeedback;
10
14{
16 FWarnFilterScope(TFunction<bool(const TCHAR* Message, ELogVerbosity::Type Verbosity, const FName& Category)> LogHandler);
19
21private:
22 FFeedbackContext* OldWarn;
23 FFilterFeedback* Feedback;
24};
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition FeedbackContext.h:30
Definition NameTypes.h:617
Definition AndroidPlatformMisc.h:14
Type
Definition LogVerbosity.h:17
Definition WarnFilterScope.cpp:7
Scope that captures warning log messages necessary to filter out warning message from appearing the l...
Definition WarnFilterScope.h:14
FWarnFilterScope & operator=(const FWarnFilterScope &)=delete
~FWarnFilterScope()
Definition WarnFilterScope.cpp:42
FWarnFilterScope(const FWarnFilterScope &)=delete