UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VVMLog.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
Logging/LogMacros.h
"
6
#include "
VVMUnreachable.h
"
7
8
COREUOBJECT_API
DECLARE_LOG_CATEGORY_EXTERN
(
LogVerseVM
,
Log
,
All
);
9
COREUOBJECT_API
DECLARE_LOG_CATEGORY_EXTERN
(
LogVerseGC
,
Log
,
All
);
10
11
#if WITH_VERSE_VM || defined(__INTELLISENSE__)
12
13
#define V_DIE(Format, ...) \
14
do \
15
{ \
16
UE_LOG(LogVerseVM, Fatal, TEXT(Format), ##__VA_ARGS__); \
17
VERSE_UNREACHABLE(); \
18
} \
19
while (false)
20
21
#define V_DIE_IF_MSG(Condition, Format, ...) UE_CLOG(Condition, LogVerseVM, Fatal, TEXT(Format), ##__VA_ARGS__)
22
#define V_DIE_IF(Condition) V_DIE_IF_MSG(Condition, "Unexpected condition: %s", TEXT(#Condition))
23
#define V_DIE_UNLESS_MSG(Condition, Format, ...) UE_CLOG(!(Condition), LogVerseVM, Fatal, TEXT(Format), ##__VA_ARGS__)
24
#define V_DIE_UNLESS(Condition) V_DIE_UNLESS_MSG(Condition, "Assertion failed: %s", TEXT(#Condition))
25
#endif
// WITH_VERSE_VM
EBTBranchAction::All
@ All
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
LogMacros.h
DECLARE_LOG_CATEGORY_EXTERN
#define DECLARE_LOG_CATEGORY_EXTERN(CategoryName, DefaultVerbosity, CompileTimeVerbosity)
Definition
LogMacros.h:361
EPrintStaleReferencesOptions::Log
@ Log
VVMUnreachable.h
Engine
Source
Runtime
CoreUObject
Public
VerseVM
VVMLog.h
Generated by
1.9.8