You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 15, 2023. It is now read-only.
Similar to how it's possible to format Level, would it be possible/valuable to format CorrelationId? Ideally first-N characters and/or last-N characters?
Similar to how it's possible to format Level, would it be possible/valuable to format CorrelationId? Ideally first-N characters and/or last-N characters?
Example from LevelOutputFormat:
https://github.com/serilog/serilog/blob/7f1e791c411457eb392a9b4833a5545a90a67ba7/src/Serilog/Formatting/Display/LevelOutputFormat.cs#L20
Proposal:
"w1" (one lowercase char)
"e3" (end three chars)
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3} {CorrelationId:e12}] {Message:lj}{NewLine}{Exception}"
With CorrelationId a103d6e7-e2d0-47b2-8442-120fdc2bb775, would produce:
[18:28:01 DBG 120fdc2bb775] Connection id "0HMMUP8CI08F3" completed keep alive response.
The text was updated successfully, but these errors were encountered: