Serilog provides diagnostic logging to files, the console, and so-on. It is easy to set up, has a clean API, and is portable between recent .NET platforms.

- Wiki
3 articles, 0 books.

Serilog is not just another logging framework. Writing JSON to a variety of output providers will enable you to get meaningful objects (and not just strings) that can be used to analyse the state of your application in much more detail.

“Your application is broken”, they say. You ask what doesn’t work, and they say: “We get an error”. Fantastic. What sort of error? “Well, it’s on a blue screen”. Aha…

A good log saves debugging time – particularly in production, by quickly helping us to pin point the root of a problem. A log containing a wealth of relevant information, reduces the amount of “I can’t reproduce” issues.