Writing ILogger Diagnostics to a File

added by DotNetKicks
11/13/2018 12:19:22 PM

3 Kicks, 2350 Views

With .NET Core, diagnostic information can be written using the ILogger interface. ILogger offers provider-based functionality to write to the console, the debug window, the Windows Event Log, to Microsoft Azure Ap Services diagnostics and logs, as well as to the TraceSource and the EventSource. Adapters to write to 3rd party logging frameworks such as...