Akka.Logger.Serilog v1.3.6 Release
1.3.6 April 28 2018
- Restored
SerilogLogMessageFormatter
in order to fix Bug:LogEvent.ToString()
blows up when using Serilog semantic formatting. - Upgraded to Akka.NET v1.3.6.
If you intend on using any of the Serilog semantic logging formats in your logging strings, you need to use the SerilogLoggingAdapter inside your instrumented code or there could be elsewhere inside parts of your ActorSystem
:
var log = Context.GetLogger<SerilogLoggingAdapter>(); // correct
log.Info("My boss makes me use {semantic} logging", "semantic"); // serilog semantic logging format
This will allow all logging events to be consumed anywhere inside the ActorSystem
, including places like the Akka.NET TestKit, without throwing FormatException
s when they encounter semantic logging syntax outside of the SerilogLogger
.