Configure Serilog Sub-Loggers Using XML App Settings

Serilog has a neat feature that allows you to configure sub-loggers. With this feature you can essentially have log specific instances running on your application. I recently had to configure a .NET Framework application to use two different sub-loggers and while I was able find many examples online on how to configure sub-loggers through AppSettings.json, I did not find any examples on how to configure them through AppSettings.config/App.config so I wanted to document that process on this post. ...

August 31, 2020 · Yunier