16#if !defined(UE_RAISE_RUNTIME_ERRORS)
17#define UE_RAISE_RUNTIME_ERRORS DO_CHECK
55#if UE_RAISE_RUNTIME_ERRORS && !USING_CODE_ANALYSIS
57 #define LogRuntimeError(Message) FRuntimeErrors::LogRuntimeIssue(ELogVerbosity::Error, __FILE__, __LINE__, Message)
60 #define LogRuntimeWarning(Message) FRuntimeErrors::LogRuntimeIssue(ELogVerbosity::Warning, __FILE__, __LINE__, Message)
84 #define ensureAsRuntimeWarning(InExpression) (LIKELY(!!(InExpression)) || FRuntimeErrors::LogRuntimeIssueReturningFalse(#InExpression, __FILE__, __LINE__))
86 #define LogRuntimeError(Message)
87 #define LogRuntimeWarning(Message)
88 #define ensureAsRuntimeWarning(InExpression) (!!(InExpression))
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Type
Definition LogVerbosity.h:17
Definition RuntimeErrors.h:21
DECLARE_DELEGATE_FourParams(FRuntimeErrorDelegate, ELogVerbosity::Type, const ANSICHAR *, int32, const FText &)
static CORE_API void LogRuntimeIssue(ELogVerbosity::Type Verbosity, const ANSICHAR *FileName, int32 LineNumber, const FText &Message)
Definition RuntimeErrors.cpp:9
static CORE_API bool LogRuntimeIssueReturningFalse(const ANSICHAR *Expr, const ANSICHAR *File, int32 Line)
Definition RuntimeErrors.cpp:14
static CORE_API FRuntimeErrorDelegate OnRuntimeIssueLogged
Definition RuntimeErrors.h:38