Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FDebug
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool OptionallyLogFormattedEnsureMessageReturningFalse
(
bool bLog, |
Logs an error if bLog is true, and returns false. | Misc/AssertionMacros.h | |
static bool OptionallyLogFormattedEnsureMessageReturningFalse
(
bool bLog, |
Misc/AssertionMacros.h |
OptionallyLogFormattedEnsureMessageReturningFalse(bool, const ANSICHAR , const ANSICHAR , int32, void *, const FmtType &, Types...)
Description
Logs an error if bLog is true, and returns false. Takes a formatted string.
Note: this crazy name is to ensure that the crash reporter recognizes it, which checks for functions in the callstack starting with 'EnsureNotFalse'. Failed assertion handler. Warning: May be called at library startup time.
| Name | OptionallyLogFormattedEnsureMessageReturningFalse |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/AssertionMacros.h |
| Include Path | #include "Misc/AssertionMacros.h" |
template<typename FmtType, typename... Types>
static bool OptionallyLogFormattedEnsureMessageReturningFalse
(
bool bLog,
const ANSICHAR * Expr,
const ANSICHAR * File,
int32 Line,
void * ProgramCounter,
const FmtType & FormattedMsg,
Types... Args
)
false in all cases.
Parameters
| Name | Remarks |
|---|---|
| bLog | Log if true. |
| Expr | Code expression ANSI string (#code) |
| File | File name ANSI string (FILE) |
| Line | Line number (LINE) |
| FormattedMsg | Informative error message text with variable args |
OptionallyLogFormattedEnsureMessageReturningFalse(bool, const ANSICHAR , const ANSICHAR , int32, void , const TCHAR , va_list)
| Name | OptionallyLogFormattedEnsureMessageReturningFalse |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/AssertionMacros.h |
| Include Path | #include "Misc/AssertionMacros.h" |
static bool OptionallyLogFormattedEnsureMessageReturningFalse
(
bool bLog,
const ANSICHAR * Expr,
const ANSICHAR * File,
int32 Line,
void * ProgramCounter,
const TCHAR * FormattedMsg,
va_list Args
)