Back to Practical Aspnetcore

WebApplication - Default Logging

projects/minimal-hosting/web-application-logging/README.md

latest550 B
Original Source

WebApplication - Default Logging

This sample uses the brand new WebApplication hosting class.

WebApplication.Logger is available for use immediately without any further configuration. However the default logger is not available via DI.

You can read the implementation of WebApplication here and its sibling WebApplicationBuilder here