Skip to content

jbe2277/LoggingSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.