Closed IFYates closed 1 year ago
Hi, Thanks for this PR - this is a good suggestion, however we went with a different approach. Instead of exposing a custom ILogFormatter
- we instead expose the Serilog native ITextFormatter
interface.
https://github.com/DataDog/serilog-sinks-datadog-logs/pull/86
Proposal for an extension point on the default LogFormatter (
TransformPayload
) and the ability to pass in any custom ILogFormatter as desired.Included basic example shows replacing the tags.
An example of a real usage is #43