UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Logging::Private Namespace Reference

Classes

class  FInlineLogTemplateStorage
 
class  FLocalizedLogFormatTable
 
struct  FLogContext
 
struct  FLogField
 
struct  FLogFieldCreator
 
struct  FLogTemplateOp
 
class  FMemoryLogTemplateStorage
 
struct  FStaticLocalizedLogRecord
 
struct  FStaticLogDynamicData
 
struct  FStaticLogRecord
 
class  FUniqueLogTemplateStorage
 
class  TFieldFinder
 
struct  TLogFieldName
 
struct  TLogFieldValueConstants
 
struct  TLogFieldValueConstants< UTF8CHAR >
 
struct  TLogFieldValueConstants< WIDECHAR >
 

Typedefs

using StdOutCharType = WIDECHAR
 

Functions

template<typename NameType >
constexpr TLogFieldName< NameTypeCheckFieldName (NameType &&Name)
 
template<typename LogType , typename... FieldArgTypes>
UE_COLD UE_DEBUG_SECTION void LogWithFields (const FLogCategoryBase &Category, const LogType &Log, FieldArgTypes &&... FieldArgs)
 
template<typename LogType , typename... FieldArgTypes>
UE_COLD UE_DEBUG_SECTION void FatalLogWithFields (const FLogCategoryBase &Category, const LogType &Log, FieldArgTypes &&... FieldArgs)
 
UE_API void CreateLogTemplate (const TCHAR *Format, const FLogTemplateOptions &Options, const FLogField *Fields, int32 FieldCount, TFunctionWithContext< void *(int32)> Allocate)
 
UE_API void CreateLogTemplate (const UTF8CHAR *Format, const FLogTemplateOptions &Options, const FLogField *Fields, int32 FieldCount, TFunctionWithContext< void *(int32)> Allocate)
 
UE_API void CreateLocalizedLogTemplate (const FText &Format, const FLogTemplateOptions &Options, const FLogField *Fields, int32 FieldCount, TFunctionWithContext< void *(int32)> Allocate)
 
UE_API void CreateLocalizedLogTemplate (const TCHAR *TextNamespace, const TCHAR *TextKey, const TCHAR *Format, const FLogTemplateOptions &Options, const FLogField *Fields, int32 FieldCount, TFunctionWithContext< void *(int32)> Allocate)
 
UE_API void CreateLocalizedLogTemplate (const TCHAR *TextNamespace, const TCHAR *TextKey, const UTF8CHAR *Format, const FLogTemplateOptions &Options, const FLogField *Fields, int32 FieldCount, TFunctionWithContext< void *(int32)> Allocate)
 
UE_API void DestroyLogTemplate (FLogTemplate *Template)
 

Variables

CORE_API bool GConvertBasicLogToLogRecord = false
 
CORE_API bool GPrependLogContextToLogMessage = false
 

Typedef Documentation

◆ StdOutCharType

Function Documentation

◆ CheckFieldName()

template<typename NameType >
constexpr TLogFieldName< NameType > UE::Logging::Private::CheckFieldName ( NameType &&  Name)
inlineconstexpr

Verify that the name is likely a string literal and forward it on.

◆ CreateLocalizedLogTemplate() [1/3]

void UE::Logging::Private::CreateLocalizedLogTemplate ( const FText Format,
const FLogTemplateOptions &  Options,
const FLogField Fields,
int32  FieldCount,
TFunctionWithContext< void *(int32)>  Allocate 
)

◆ CreateLocalizedLogTemplate() [2/3]

void UE::Logging::Private::CreateLocalizedLogTemplate ( const TCHAR TextNamespace,
const TCHAR TextKey,
const TCHAR Format,
const FLogTemplateOptions &  Options,
const FLogField Fields,
int32  FieldCount,
TFunctionWithContext< void *(int32)>  Allocate 
)

◆ CreateLocalizedLogTemplate() [3/3]

void UE::Logging::Private::CreateLocalizedLogTemplate ( const TCHAR TextNamespace,
const TCHAR TextKey,
const UTF8CHAR Format,
const FLogTemplateOptions &  Options,
const FLogField Fields,
int32  FieldCount,
TFunctionWithContext< void *(int32)>  Allocate 
)

◆ CreateLogTemplate() [1/2]

void UE::Logging::Private::CreateLogTemplate ( const TCHAR Format,
const FLogTemplateOptions &  Options,
const FLogField Fields,
int32  FieldCount,
TFunctionWithContext< void *(int32)>  Allocate 
)

◆ CreateLogTemplate() [2/2]

void UE::Logging::Private::CreateLogTemplate ( const UTF8CHAR Format,
const FLogTemplateOptions &  Options,
const FLogField Fields,
int32  FieldCount,
TFunctionWithContext< void *(int32)>  Allocate 
)

◆ DestroyLogTemplate()

void UE::Logging::Private::DestroyLogTemplate ( FLogTemplate *  Template)

◆ FatalLogWithFields()

template<typename LogType , typename... FieldArgTypes>
UE_COLD UE_DEBUG_SECTION void UE::Logging::Private::FatalLogWithFields ( const FLogCategoryBase Category,
const LogType Log,
FieldArgTypes &&...  FieldArgs 
)

Fatal log with fields created from the arguments, which may be values or pairs of name/value.

◆ LogWithFields()

template<typename LogType , typename... FieldArgTypes>
UE_COLD UE_DEBUG_SECTION void UE::Logging::Private::LogWithFields ( const FLogCategoryBase Category,
const LogType Log,
FieldArgTypes &&...  FieldArgs 
)

Log with fields created from the arguments, which may be values or pairs of name/value.

Variable Documentation

◆ GConvertBasicLogToLogRecord

CORE_API bool UE::Logging::Private::GConvertBasicLogToLogRecord = false

◆ GPrependLogContextToLogMessage

CORE_API bool UE::Logging::Private::GPrependLogContextToLogMessage = false