diff options
| author | Stefan Boberg <[email protected]> | 2026-04-03 15:30:38 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-04-03 15:30:38 +0200 |
| commit | 3b32117766e86ee827fa8d777e0e0549050cb229 (patch) | |
| tree | 74a624695374551f9de856d9cbfe047b309b728c /src/zenhttp/servers/httpsys.cpp | |
| parent | Improve log formatting: elapsed timestamps, short levels, consistent field order (diff) | |
| download | zen-3b32117766e86ee827fa8d777e0e0549050cb229.tar.xz zen-3b32117766e86ee827fa8d777e0e0549050cb229.zip | |
Slim down LogMessage and LogPoint structs
- Initialize LogMessage::m_ThreadId from zen::GetCurrentThreadId() in constructor
- Remove redundant m_Level and m_Source from LogMessage; derive from LogPoint
- Flatten LogPoint: replace SourceLocation with inline Filename/Line fields
- Shrink LogLevel to int8_t, add static_assert(sizeof(LogPoint) <= 32)
- Remove unused setters (SetPayload, SetLoggerName, SetLevel, SetSource)
- Update all LogPoint aggregate initializers across the codebase
Diffstat (limited to 'src/zenhttp/servers/httpsys.cpp')
0 files changed, 0 insertions, 0 deletions