RehanSaeed / Serilog.Enrichers.Span

Enrich Serilog log events with properties from Open Telemetry spans.
MIT License
96 stars 19 forks source link

feat: support augmenting trace context properties #241

Closed tshowers-bt closed 1 year ago

tshowers-bt commented 1 year ago

Add a property to SpanOptions to support optionally augmenting log events with additional properties to represent the trace context. This is to support the case where the destination that logs will be shipped to expects different property names or differently formatted values to represent traces than what is used natively by the application.

closes: RehanSaeed/Serilog.Enrichers.Span#240