![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "HAL/Platform.h"Go to the source code of this file.
| #define TRACE_PRIVATE_ALLOW_FILE TRACE_PRIVATE_FULL_ENABLED |
Control tracing to files
| #define TRACE_PRIVATE_ALLOW_IMPORTANTS 1 |
Control if important events are enabled
| #define TRACE_PRIVATE_ALLOW_TCP TRACE_PRIVATE_FULL_ENABLED |
Control tracing to tcp socket connections.
| #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.
| #define TRACE_PRIVATE_FULL_ENABLED 0 |
| #define TRACE_PRIVATE_MINIMAL_ENABLED 0 |
| #define UE_TRACE_BLOCK_POOL_MAXSIZE 79 << 20 |
Default block pool size in bytes. See BlockPool implementation for discussion about overriding this value.
| #define UE_TRACE_BLOCK_SIZE (4 << 10) |
Default size of each block in the block pool.
| #define UE_TRACE_ENABLED 0 |
Public control for enabling tracing.
This define controls all the TraceLog functionality and is used under normal circumstances.
| #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.
| #define UE_TRACE_MINIMAL_ENABLED UE_TRACE_ENABLED |
Public control for the minimal set of tracing.
| #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.
| #define UE_TRACE_WRITER_SLEEP_MS (17) |
Time for writer thread to sleep in between writes