Logging with enums in .NET Core
https://blog.bredvid.no/logging-with-enums-in-net-core-cf78e354d086
In this blog post, I extend the built-in logging framework with the use of enums as log events, building on the out-of-the-box log event concept.
With the Microsoft.Extensions.Logging package, flexible and powerful logging concepts are available. This is an integral part of dotnet core. The new logging framework has integrated concepts like log categories, familiar to users of the Log4j, Log4net and NLog logging libraries, and structured (a.k.a. semantic) logging, familiar to users of Serilog.