LibLog 1.3.0

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. Works with .NET 4 and higher.

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 2 methods to implement in comparison to Common.Logging ILog's ~65 members
- Using optimized reflection, it transparently supports NLog, Log4Net, EntLib Logging and Serilog without any wiring up required by an end user, if the end user simply has a reference to any of these logging frameworks.

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package LibLog -Version 1.3.0
dotnet add package LibLog --version 1.3.0
paket add LibLog --version 1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

- Add IsDebugEnabled(), IsInfoEnabled() etc to allow checking if a loglevel is enabled.
- Performance improvement in EntLib logging provider.

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
4.2.6 48,245 10/11/2016
4.2.5 39,023 3/29/2016
4.2.4 19,021 10/29/2015
4.2.3 14,520 6/9/2015
4.2.2 12,577 4/15/2015
4.2.1 9,053 4/10/2015
4.2.0 32,577 4/7/2015
4.1.1 310 4/4/2015
4.0.2 324 4/2/2015
3.1.0 4,563 2/3/2015
3.0.0 220 2/2/2015
3.0.0-beta4 308 2/2/2015
3.0.0-beta3 198 2/2/2015
3.0.0-beta2 120 1/31/2015
3.0.0-beta1 125 1/30/2015
2.0.1 14,210 1/3/2015
2.0.0 195 1/3/2015
1.5.0 10,583 12/2/2014
1.4.0 5,498 11/11/2014
1.3.0 (current version) 2,522 9/24/2014
1.2.3 383 9/16/2014
1.2.2 178 9/16/2014
1.2.1 173 9/16/2014
1.2.0 214 9/14/2014
1.1.2 150 9/12/2014
1.0.0 170 9/9/2014
1.0.0-beta2 138 9/6/2014
Show less