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.
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:
- Copy
LibLog.cs
to your netstandard project. - Manually rename the namespace
YourRootNamespace
to your project's root namespace. - Enable
LIBLOG_PORTABLE
compiler directive.
LibLog is licensed under MIT Licence.
Feedback, compliments or criticism: @randompunter