Tag Archives: seq


Structured Logging with Serilog in ASP.NET Core

Serilog in Seq

I recently discovered the beautify of Serilog for logging from my ASP.NET (pre core) web apps, and converted one of my projects across completely to using it (rather than a haphazard, custom file logger that was written by myself years ago).  Serilog is a powerful logging library that allows you to do structured logging, allowing you to basically have fields against any log messages (aka log events) containing serialised data – strings, integers, objects, etc.

It’s the objects part that’s really cool – say you are logging an order being placed, you can log the full Order object, and allow easy searching later on by a field such as the OrderId within that object.

Read More