Porting SerilogLogger from KExpense

The build is fine without Microsoft.AspNet.Diagnostics, but it breaks without Microsoft.AspNet.Diagnostics.Entity