Sample applications for the article: Logging with .NET Standard 2.0
The solution contains:
Name | Description |
---|---|
SampleLibrary | .NET Standard 2.0 library that shows how TraceSource can be used for logging |
NLogConfigSample | WPF app that uses NLog for logging via NLog.config file |
NLogCodeSample | WPF app that uses NLog for logging via code configuration |
TraceSourceSample | WPF app that uses TraceSource for logging via code configuration. Logging into files is very limited with this approach. |
MicrosoftLoggingSample | WPF app that uses Microsoft.Extensions.Logging for logging. Just shows how to integrate TraceSource from SampleLibrary. But it does not support logging into files. |