Petr Hudeček

Petr Hudeček

Meet Petr, a software engineer working at Microsoft with interests in security, compilers, language design, and making video games.

1 post
Error monitoring and detailed logging of an ASP.NET Core application with PostSharp and elmah.io

Wires PostSharp Logging and Serilog into an ASP.NET Core app for detailed per-method debug traces plus error monitoring on elmah.io, installing Serilog.Sinks.ElmahIO and Elmah.Io.AspNetCore.Serilog, configuring ElmahIoSinkOptions at Warning level, and calling app.UseElmahIoSerilog() in Startup. ...