Files
UnrealEngineUWP/Engine/Source/Runtime/Core/Private/Logging
devin doucette b568e1748c Logging: Improved UE_LOG based on UE_LOGFMT
- Updated UE_LOG, UE_CLOG, UE_LOG_REF, UE_LOG_CLINKAGE to store constant data in a static constexpr struct.
- Moved log tracing out of the above log macros.
- Added FMsg::LogV to log with args in a va_list.

Generated Code by Field/Param Count
- i=instructions; b=bytes
- 0: 5i/30b (was 38i/169b)
- 1: 6i/33b (was 48i/211b)
- 2: 7i/39b (was 57i/253b)
- 3: 8i/46b (was 68i/299b)

Build Impact (Average of 1,000 Logs with 0-9 Fields/Params)
- Link Time: ~0ms (was ~0ms)
- Compile Time: 0.55ms (was 1.28ms)
- EXE Size: 138 bytes (was 436 bytes)
- PDB Size: 336 bytes (was 2,449 bytes)
- OBJ Size: 1,182 bytes (was 4,745 bytes)

For an example project, win64 test client exe size dropped by 2.7% and pdb size dropped by 3.1%.

#jira UE-175373
#preflight 63f694d47064074bd8c51d59
#rb Zousar.Shaker

[CL 24386223 by devin doucette in ue5-main branch]
2023-02-23 14:29:00 -05:00
..