akkadotnet / Akka.Hosting

Akka.Hosting - standardized Akka.NET hosting without any HOCON configuration. Ties into Microsoft.Extensions.Configuration, Logging, Hosting, and DependencyInjection.
Apache License 2.0
56 stars 13 forks source link

Logging: added documentation and end to end specs for Serilog formatting #451

Closed Aaronontheweb closed 5 months ago

Aaronontheweb commented 5 months ago

Changes

Added some additional logging API cleanup around the use of default message formatters, plus with a Serilog example.

Inspired by https://stackoverflow.com/questions/78400210/akka-net-1-5-serilog-logger-not-adding-extra-properties-when-using-forcontext/78410544#78410544 to do this.

Checklist

For significant changes, please ensure that the following have been completed (delete if not relevant):