Install-Package NetStandardLogging -Version 1.0.4
dotnet add package NetStandardLogging --version 1.0.4
<PackageReference Include="NetStandardLogging" Version="1.0.4" />
paket add NetStandardLogging --version 1.0.4
#r "nuget: NetStandardLogging, 1.0.4"
// Install NetStandardLogging as a Cake Addin #addin nuget:?package=NetStandardLogging&version=1.0.4 // Install NetStandardLogging as a Cake Tool #tool nuget:?package=NetStandardLogging&version=1.0.4
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.
Use this if you require a *PURE* .Net Core app such as what would be needed to run under Linux with an ARM processor (think: Raspberry Pi) where extended .Net Framework functionality is not allowed.
See the test project under the project URL on GitHub for usage and a sample config section.
*Note: this no longer requires the separate nuget package for the IAppLogger interface.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
Fixed defect related to logging an exception's Message.