/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.

Primary LanguageC#MIT LicenseMIT

LibLog Build status NuGet Badge Join the chat at https://gitter.im/damianh/LibLog

Designed specifically for library developers, 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. It also contains transparent built-in support for NLog, Log4Net, EntLib Logging, Serilog and Loupe, and allows your users to define a custom provider if necessary.

Please see Wiki for more information.

Availability for NetStandard / new .csproj format

LibLog uses .pp file to do a namespace transform (aka source transform ) so it fits into your project's namespace. However it appears that source transform are currently broken in RTM. For now, the workaround:

  1. Copy LibLog.cs to your netstandard project.
  2. Manually rename the namespace YourRootNamespace to your project's root namespace.
  3. Enable LIBLOG_PORTABLE compiler directive.

License

LibLog is licensed under MIT Licence.

Developed with:

Resharper dotCover dotTrace

Feedback, compliments or criticism: @randompunter