serilog-enrichers-thread
serilog-enrichers-thread copied to clipboard
Enrich Serilog events with properties from the current thread.
I used ThreadIdEnricher.ThreadIdPropertyName and ThreadNameEnricher.ThreadNamePropertyName to access the corresponding values in a LogEvent. But now theses names aren't public. Also, it breaks your example: .Enrich.WithProperty(ThreadNameEnricher.ThreadNamePropertyName, "MyDefault")
Since this was created probably long before otel defined attributes this serilog enricher does not align with otel spec: [https://opentelemetry.io/docs/specs/semconv/attributes-registry/thread/](https://opentelemetry.io/docs/specs/semconv/attributes-registry/thread/) Could we align it or does it need a new...