NLog logging support for LinqPad
Simple usage method:
- Add
NLogto your LinqPad query - Add this package from https://www.nuget.org/packages/zorgoz.Nlog4LinqPad to your query
- Add
use zorgoz.Nlog4LinqPad;to your code (or use LinqPad's tools for this) - Add
Nlog4LinqPad.LogToHtmlResults();orNlog4LinqPad.LogToConsoleResults();to your code (you could add both, but would make little sense) - If needed create a logger instance
- Start logging
- Enjoy the results with default settings
The output is highly customisable, but a complete documntation is yet to come...