See the version list below for details.
Install-Package NetStandardLogging -Version 1.0.2
dotnet add package NetStandardLogging --version 1.0.2
<PackageReference Include="NetStandardLogging" Version="1.0.2" />
paket add NetStandardLogging --version 1.0.2
#r "nuget: NetStandardLogging, 1.0.2"
// Install NetStandardLogging as a Cake Addin #addin nuget:?package=NetStandardLogging&version=1.0.2 // Install NetStandardLogging as a Cake Tool #tool nuget:?package=NetStandardLogging&version=1.0.2
Consider this a bridge solution until the big gun loggers like Log4Net or NLog catch up with .Net Core/Standard 2.0
Provides the most basic functionality of logging for .Net Standard 2.0 and .Net Core 2.0 projects.
The project allows logging to a file or the console, with timestamps, and with the minimal of a json config file.
Requires the NetCoreLoggerInterface as I was keeping the interface separate. For this project, I may just fold the interface back into the nuget package to alleviate the need.
See the test project under the project URL for usage and a sample config section.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
Added a test to throw a meaningful ApplicationException if the expected config section is not found to configure the logger.