UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Config.h File Reference
#include "HAL/Platform.h"

Go to the source code of this file.

Macros

#define UE_TRACE_ENABLED   0
 
#define UE_TRACE_ENABLED_SHIPPING_EXPERIMENTAL   0
 
#define UE_TRACE_MINIMAL_ENABLED   UE_TRACE_ENABLED
 
#define TRACE_PRIVATE_MINIMAL_ENABLED   0
 
#define TRACE_PRIVATE_FULL_ENABLED   0
 
#define TRACE_PRIVATE_ALLOW_TCP_CONTROL   TRACE_PRIVATE_FULL_ENABLED
 
#define TRACE_PRIVATE_ALLOW_TCP   TRACE_PRIVATE_FULL_ENABLED
 
#define TRACE_PRIVATE_ALLOW_FILE   TRACE_PRIVATE_FULL_ENABLED
 
#define TRACE_PRIVATE_ALLOW_IMPORTANTS   1
 
#define UE_TRACE_BLOCK_POOL_MAXSIZE   79 << 20
 
#define UE_TRACE_BLOCK_SIZE   (4 << 10)
 
#define UE_TRACE_WRITER_SLEEP_MS   (17)
 
#define UE_TRACE_PACKET_VERIFICATION   0
 

Macro Definition Documentation

◆ TRACE_PRIVATE_ALLOW_FILE

#define TRACE_PRIVATE_ALLOW_FILE   TRACE_PRIVATE_FULL_ENABLED

Control tracing to files

◆ TRACE_PRIVATE_ALLOW_IMPORTANTS

#define TRACE_PRIVATE_ALLOW_IMPORTANTS   1

Control if important events are enabled

◆ TRACE_PRIVATE_ALLOW_TCP

#define TRACE_PRIVATE_ALLOW_TCP   TRACE_PRIVATE_FULL_ENABLED

Control tracing to tcp socket connections.

◆ TRACE_PRIVATE_ALLOW_TCP_CONTROL

#define TRACE_PRIVATE_ALLOW_TCP_CONTROL   TRACE_PRIVATE_FULL_ENABLED

Shipping trace is a subset of regular tracing. If regular trace is enabled, shipping trace must also be enabled. Current protocol version Control the socket control component. By default we disable it if only shipping trace is enabled.

◆ TRACE_PRIVATE_FULL_ENABLED

#define TRACE_PRIVATE_FULL_ENABLED   0

◆ TRACE_PRIVATE_MINIMAL_ENABLED

#define TRACE_PRIVATE_MINIMAL_ENABLED   0

Internal defined used inside this library. Do not set outside of TraceLog.

◆ UE_TRACE_BLOCK_POOL_MAXSIZE

#define UE_TRACE_BLOCK_POOL_MAXSIZE   79 << 20

Default block pool size in bytes. See BlockPool implementation for discussion about overriding this value.

◆ UE_TRACE_BLOCK_SIZE

#define UE_TRACE_BLOCK_SIZE   (4 << 10)

Default size of each block in the block pool.

◆ UE_TRACE_ENABLED

#define UE_TRACE_ENABLED   0

Public control for enabling tracing.

This define controls all the TraceLog functionality and is used under normal circumstances.

◆ UE_TRACE_ENABLED_SHIPPING_EXPERIMENTAL

#define UE_TRACE_ENABLED_SHIPPING_EXPERIMENTAL   0

EXPERIMENTAL!: Optional control to enable tracing in shipping configuration.

When this define is enabled TraceLog functionality can be enabled in shipping builds. Note that regular tracing system that relies on UE_TRACE_ENABLED will not be active. This is intentional in order to avoid unintentional functionality slipping into shipping builds.

◆ UE_TRACE_MINIMAL_ENABLED

#define UE_TRACE_MINIMAL_ENABLED   UE_TRACE_ENABLED

Public control for the minimal set of tracing.

◆ UE_TRACE_PACKET_VERIFICATION

#define UE_TRACE_PACKET_VERIFICATION   0

Enable packet verification. Only useful when looking for transmission bugs. Note that in order to avoid making a new protocol version, enabling this makes existing version 7 traces incompatible.

◆ UE_TRACE_WRITER_SLEEP_MS

#define UE_TRACE_WRITER_SLEEP_MS   (17)

Time for writer thread to sleep in between writes