Logging using DiagnosticSource in ASP.NET Core

added by DotNetKicks
1/31/2017 1:09:24 PM

2 Kicks, 405 Views

Logging in the ASP.NET Core framework is implemented as an extensible set of providers that allows you to easily plug in new providers without having to change your logging code itself. The docs give a great summary of how to use the ILogger and ILoggerFactory in your application and how to pipe the output to the console, to Serilog, to Azure etc.