arggrande / SerilogPoC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SerilogPoC

A very simple proof-of-concept application, demonstrating the usefulness of Serilog and Seq.

I've broken this down into the following commits:

  1. Use of static logging configuration with Serilog. (initial commit, so this is a bit noisy)
  2. Added ILogger injection via Autofac, with request correlation via SerilogWeb.Classic
  3. Demonstrate use of SelfLog to output Serilog internal exceptions, using a bad Seq URL.
  4. Added in a demonstration of the use of ContextProperties, with Destructuring example.

This repository was created because of a blog post I've written, going into details on how this all works. You can check out the blog post here

PRs welcome if there are any mistakes!

About


Languages

Language:JavaScript 94.7%Language:C# 5.1%Language:CSS 0.1%Language:ASP 0.0%