• This repository has been archived on 05/Dec/2019
  • Stars
    star
    929
  • Rank 49,172 (Top 1.0 %)
  • Language
    C#
  • License
    MIT License
  • Created over 12 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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.

Image

LibLog Build status NuGet Badge

⚠️ LibLog is now deprecated (see #270).

My recommend course of action for library developers is to use Microsoft.Extensions.Logging.Abstractions as it is now the defacto standard logging interface in the .NET ecosystem. For library developers that wish to continue to use LibLog or need to make adjustments for their needs should copy the code into their project (after all, that's just what LibLog did).

Thanks to all contributors and users for the support over the years.

Damian


Designed specifically for library developers, LibLog is a source code package that you install via nuget into your library/framework/application to provide a logging abstraction. It also contains transparent built-in support for NLog, Log4Net, Serilog and Loupe, and allows your users to define a custom provider if necessary.

Please see Wiki for more information.

Availability for old csproj format

LibLog uses .pp file to do a namespace transform (aka source transform) so it fits into your project's namespace. This is handled transparently by the new dotnet sdk as of LibLog version 5.0.0. If you change your project's root namespace then LibLog will automatically change also. For older project formats, please continue to use LibLog 4.x versions.

License

LibLog is licensed under MIT Licence.

Feedback, compliments or criticism: @randompunter