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
.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:
LibLog.csto your netstandard project.
- Manually rename the namespace
YourRootNamespaceto your project's root namespace.
If you are cross-compiling to net451, net452, etc. then you need to add a conditional reference:
<ItemGroup Condition=" '$(TargetFramework)' == 'net451' "> <Reference Include="Microsoft.CSharp" /> </ItemGroup>
LibLog is licensed under MIT Licence.
Feedback, compliments or criticism: @randompunter