Hi all,
I'm working on a .NETlogger that logs directly to Elasticsearch. I looked at the source code for Elastic.Extensions.Logging and I cannot find any "customization" options.
Examples:
- How can we change the user name? Currently the name is obtained from Thread.CurrentPrincipal?.Identity?.Name. This is not always correct. Sometimes ClaimsPrincipal needs to be used.
- How can we add other attributes (not via the message template)?
Any information very welcome.
Peter