MicroLite.Logging.NLog is a .NET 4.5 library which adds an extension for the MicroLite ORM Framework to use NLog as the logging library.
Branch | Status |
---|---|
/develop | |
/master |
Install the nuget package Install-Package MicroLite.Extensions.NLog
You can then load the extension in your application start-up:
// Load the extensions for MicroLite
Configure
.Extensions()
.WithNLog();
// Create the session factory...
Configure
.Fluently()
...
For further information on configuring NLog, see github.com/nlog/nlog/wiki/Tutorial.
The NuGet Package contains binaries compiled against (dependencies indented):
- .NET Framework 4.5
- MicroLite 7.0.0
- NLog 4.4.0