This is the sixth post in the series: Exploring ASP.NET Core 3.0.
- Part 1 – Exploring the new project file, Program.cs, and the generic host
- Part 2 – Comparing Startup.cs between the ASP.NET Core 3.0 templates
- Part 3 – New in ASP.NET Core 3: Service provider validation
- Part 4 – Running async tasks on app startup in ASP.NET Core 3.0
- Part 5 – Introducing IHostLifetime and untangling the Generic Host startup interactions
- 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.