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

This is the sixth post in the series: Exploring ASP.NET Core 3.0.

  1. Part 1 – Exploring the new project file, Program.cs, and the generic host
  2. Part 2 – Comparing Startup.cs between the ASP.NET Core 3.0 templates
  3. Part 3 – New in ASP.NET Core 3: Service provider validation
  4. Part 4 – Running async tasks on app startup in ASP.NET Core 3.0
  5. Part 5 – Introducing IHostLifetime and untangling the Generic Host startup interactions
  6. Part 6 – New in ASP.NET Core 3.0: structured logging for startup messages (this post)

In this post I describe a small change to the way ASP.NET Core logs messages on startup in ASP.NET Core 3.0. Instead of logging messages directly to the console, ASP.NET Core now uses the logging infrastructure properly, producing structured logs.

Read more: https://andrewlock.net/new-in-aspnetcore-3-structured-logging-for-startup-messages/

Related Post

Leave a Reply

Your email address will not be published. Required fields are marked *