LibLog 5.0.8
dotnet add package LibLog --version 5.0.8
NuGet\Install-Package LibLog -Version 5.0.8
<PackageReference Include="LibLog" Version="5.0.8">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
paket add LibLog --version 5.0.8
#r "nuget: LibLog, 5.0.8"
// Install LibLog as a Cake Addin
#addin nuget:?package=LibLog&version=5.0.8
// Install LibLog as a Cake Tool
#tool nuget:?package=LibLog&version=5.0.8
A source code package designed primarily for library and framework authors who want dependency free logging support in their component. Also useful in end applications. As of 5.0.0 it works with NetStandard2.0 and SDK projects. For legacy csproj format support use 4.x versions.
If you are a library or framework author and you wish to provide logging support in your component there are a number of options: 1) Depend on a specific logging framework 2) Depend on Common.Logging 3) Implement your own ILog interface and make your consumers wire it up.
Option 1 is not desirable because it forces your users to use a particular framework. Option 2 is not desirable because it will add yet more nuget package dependencies and project references with associated versioning concerns in addition to wiring up. Option 3 is desirable because it is dependency free but requires that your users to remember to write an adapter and wire things up.
This package is a variation of option 3 but will automatically wire things up too.
- It will add an ILog, ILogProvider etc to YourRootNamespace.Logging
- ILog is one method to implement
- Using optimized reflection, it transparently supports NLog, Log4Net, Serilog and Loupe without any wiring up required by an end user, if the end user simply has a reference to any of these logging frameworks.
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
This package has no dependencies.
NuGet packages (38)
Showing the top 5 NuGet packages that depend on LibLog:
Package | Downloads |
---|---|
PTIRelianceLib
A Reliance Thermal printer API that support firmware updates and configuration. This requires the Reliance printer to be connected via USB. |
|
RestSharp.IdentityModel.Extensions
RestSharp.IdentityModel.Extensions |
|
ShipStation4Net
A .NET Standard Library using System.Net.HttpClient and NewtonSoft.Json which provides access to the ShipStation API. |
|
Bitmex.NET
Wrapper for BitMEX.com API (REST & WebSocket) |
|
LambdaS3FileZipper
Package Description |
GitHub repositories (20)
Showing the top 5 popular GitHub repositories that depend on LibLog:
Repository | Stars |
---|---|
HangfireIO/Hangfire
An easy way to perform background job processing in your .NET and .NET Core applications. No Windows Service or separate process required
|
|
mono/monodevelop
MonoDevelop is a cross platform .NET IDE
|
|
IdentityServer/IdentityServer3
OpenID Connect Provider and OAuth 2.0 Authorization Server Framework for ASP.NET 4.x/Katana
|
|
DotNetOpenAuth/DotNetOpenAuth
A C# implementation of the OpenID, OAuth protocols
|
|
damianh/LibLog
LibLog is a single file for you to either copy/paste or install via nuget, into your library/framework/application to provide a logging abstraction.
|
Version | Downloads | Last updated | |
---|---|---|---|
5.0.8 | 300,358 | 12/4/2019 | |
5.0.7-build.575 | 2,674 | 3/3/2019 | |
5.0.6 | 528,006 | 2/8/2019 | |
5.0.5 | 66,118 | 1/6/2019 | |
5.0.4 | 29,698 | 12/25/2018 | |
5.0.3 | 122,143 | 11/19/2018 | |
5.0.2 | 188,433 | 6/30/2018 | |
5.0.0 | 105,357 | 5/28/2018 | |
4.2.6 | 908,687 | 10/11/2016 | |
4.2.5 | 201,256 | 3/29/2016 | |
4.2.4 | 64,602 | 10/29/2015 | |
4.2.3 | 29,459 | 6/9/2015 | |
4.2.2 | 31,903 | 4/15/2015 | |
4.2.1 | 14,663 | 4/10/2015 | |
4.2.0 | 46,432 | 4/7/2015 | |
4.1.1 | 1,383 | 4/4/2015 | |
4.0.2 | 1,678 | 4/2/2015 | |
3.1.0 | 11,227 | 2/3/2015 | |
3.0.0 | 1,296 | 2/2/2015 | |
3.0.0-beta4 | 1,192 | 2/2/2015 | |
3.0.0-beta3 | 1,042 | 2/2/2015 | |
3.0.0-beta2 | 1,033 | 1/31/2015 | |
3.0.0-beta1 | 981 | 1/30/2015 | |
2.0.1 | 37,352 | 1/3/2015 | |
2.0.0 | 1,387 | 1/3/2015 | |
1.5.0 | 59,323 | 12/2/2014 | |
1.4.0 | 14,245 | 11/11/2014 | |
1.3.0 | 3,727 | 9/24/2014 | |
1.2.3 | 1,609 | 9/16/2014 | |
1.2.2 | 1,402 | 9/16/2014 | |
1.2.1 | 1,448 | 9/16/2014 | |
1.2.0 | 1,253 | 9/14/2014 | |
1.1.2 | 1,197 | 9/12/2014 | |
1.0.0 | 1,319 | 9/9/2014 | |
1.0.0-beta2 | 1,015 | 9/6/2014 |
See https://github.com/damianh/LibLog/releases for release notes.