6#include "Delegates/Delegate.h"
7#include "HAL/PlatformMisc.h"
8#include "Logging/LogVerbosity.h"
9#include "Misc/AssertionMacros.h"
10#include "Misc/Build.h"
11#include "Misc/CoreDelegates.h"
16#if !defined(UE_RAISE_RUNTIME_ERRORS)
23
24
25
26
27
28
29
30
31
41
42
43
44
45
46
47
48
57 #define LogRuntimeError(Message) FRuntimeErrors::LogRuntimeIssue(ELogVerbosity::Error, __FILE__, __LINE__, Message)
60 #define LogRuntimeWarning(Message) FRuntimeErrors::LogRuntimeIssue(ELogVerbosity::Warning, __FILE__, __LINE__, Message)
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84 #define ensureAsRuntimeWarning(InExpression) (LIKELY(!!(InExpression)) || FRuntimeErrors::LogRuntimeIssueReturningFalse(#InExpression, __FILE__, __LINE__))
86 #define LogRuntimeError(Message)
87 #define LogRuntimeWarning(Message)
88 #define ensureAsRuntimeWarning(InExpression) (!!(InExpression))
#define USING_CODE_ANALYSIS
#define DECLARE_DELEGATE_FourParams(DelegateName, Param1Type, Param2Type, Param3Type, Param4Type)
#define UE_RAISE_RUNTIME_ERRORS
static FRuntimeErrorDelegate OnRuntimeIssueLogged
static bool LogRuntimeIssueReturningFalse(const ANSICHAR *Expr, const ANSICHAR *File, int32 Line)
static void LogRuntimeIssue(ELogVerbosity::Type Verbosity, const ANSICHAR *FileName, int32 LineNumber, const FText &Message)