site image
Andrew Lock avatar

Andrew Lock

Logging
  1. Loading...
  2. Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

    30% off with code ANDREW30 on Dometrain Pro
  3. ASP.NET Core in Action, Third Edition

    My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.

  4. Banner image for Using Serilog.AspNetCore in ASP.NET Core 3.0

    Using Serilog.AspNetCore in ASP.NET Core 3.0

    In this post I describe how you can use Serilog.AspNetCore to reduce the number of logs generated by every request in ASP.NET Core 3.0…

     in  ASP.NET CoreLogging
  5. Banner image for New in ASP.NET Core 3.0: structured logging for startup messages

    New in ASP.NET Core 3.0: structured logging for startup messages

    Exploring ASP.NET Core 3.0 - Part 6

    In this post I describe a change in ASP.NET Core 3.0 that means startup messages use structured logging…

  6. Banner image for Adding Serilog to the ASP.NET Core Generic Host

    Adding Serilog to the ASP.NET Core Generic Host

    In this post I introduce the Serilog.Extensions.Hosting package, discuss why it's necessary, and describe how to use it to add Serilog to a generic host app…

  7. Banner image for Writing logs to Elasticsearch with Fluentd using Serilog in ASP.NET Core

    Writing logs to Elasticsearch with Fluentd using Serilog in ASP.NET Core

    In this post, I describe how to customise the output of the Serilog Console sink so that you can pipe your console output to Elasticsearch using Fluentd.…

  8. Banner image for Suppressing the startup and shutdown messages in ASP.NET Core

    Suppressing the startup and shutdown messages in ASP.NET Core

    In this post I show how to disable the startup messages shown in the console when you run an ASP.NET Core application using WebHostBuilder or HostBuilder.…

  9. Banner image for Using anonymous types and tuples to attach correlation IDs to scope state with Serilog and Seq in ASP.NET Core

    Using anonymous types and tuples to attach correlation IDs to scope state with Serilog and Seq in ASP.NET Core

    In this post I describe two extension methods that make logging scopes as key-value pairs nicer in ASP.NET Core, by using anonymous types and tuples.…

     in  ASP.NET CoreASP.NET Core 2.0LoggingC#
Andrew Lock | .Net Escapades
Want an email when
there's new posts?