jbe2277 / LoggingSample

Sample for logging with .NET Standard 2.0

Home Page:https://github.com/jbe2277/waf/wiki/Logging-with-.NET-Standard-2.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LoggingSample

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.

About

Sample for logging with .NET Standard 2.0

https://github.com/jbe2277/waf/wiki/Logging-with-.NET-Standard-2.0

License:MIT License


Languages

Language:C# 100.0%