UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
StatusLog.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
/*=============================================================================
4
StatusLog.h: high level status logging helper:
5
should be minimal and track important game state changing events, travel, game ending failures, etc
6
verbosity should be minimal, goal is 20 lines per match / round
7
=============================================================================*/
8
9
#pragma once
10
11
#include "
CoreGlobals.h
"
12
13
ENGINE_API
DECLARE_LOG_CATEGORY_EXTERN
(
LogGlobalStatus
,
Verbose
,
All
);
14
15
16
#define UE_LOGSTATUS(Verbosity, STRING, ...) UE_LOG(LogGlobalStatus, Verbosity, TEXT("%s ") STRING, ANSI_TO_TCHAR(__FUNCTION__), ##__VA_ARGS__ )
17
/* UE_LOGFMTSTATUS
18
* can only be used as such will cause compilation errors if not specifying format arguments completely
19
* UE_LOGFMTSTATUS(Log, "format string {FormatArgument1} {FormatArguement2}", ("FormatArgument1", FormatArgument1Value), ("FormatArgument2", FormatArgument2Value));
20
*/
21
#define UE_LOGFMTSTATUS(Verbosity, STRING, ...) UE_LOGFMT(LogGlobalStatus, Verbosity, "{FUNCTIONNAME} " STRING, ("FUNCTIONNAME", __FUNCTION__), ##__VA_ARGS__)
22
23
EBTBranchAction::All
@ All
CoreGlobals.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
DECLARE_LOG_CATEGORY_EXTERN
#define DECLARE_LOG_CATEGORY_EXTERN(CategoryName, DefaultVerbosity, CompileTimeVerbosity)
Definition
LogMacros.h:361
EStatFlags::Verbose
@ Verbose
Engine
Source
Runtime
Engine
Public
Misc
StatusLog.h
Generated by
1.9.8