NLog vs Loupe
NLog is a very nice logging framework but analyzing logs in text editors like Notepad is tedious at best. Loupe integrates with NLog and has a free log viewer that streamlines log analysis.
What is Loupe?
Loupe (originally known as Gibraltar) was created by Gibraltar Software to fulfill some of the shortcomings of NLog and similar local logging frameworks on the market. It comes in three parts. A free agent which is bundled with your app, a free desktop viewing tool (for analysis and basic viewing of local log files) and a web platform which collects, organises and categorises potential issues to make them easier to search across and digest.
For local logging, installation is pretty much exactly the same process as NLog. It’s easy to switch from NLog to Loupe by changing just a few lines of config once the agent is added to your project. After that it’s simply a case of installing Loupe (for free local log anaylsis) or signing up for a trial of the web platform which gives you the centralized log collection and much more detailed analysis and search capability.
In addition to capturing NLog messages, Loupe also records performance metrics and provides powerful graphing and charting capabilities.
So which should I choose?
It honestly depends on what stage you’re project is at. If you’re just getting started on something and need to view an enormous log file locally, free tools like NLog and Loupe will get you there. However, we believe that NLog, and logging restricted to local machines in general is never going to cut it in a production environment (which is where logging really counts). Once software is out in the wild, you can’t afford not to know the issues your users might potentially be experiencing.
What if I’m already using NLog?
The great news is that Loupe can extend NLog to capture all of the log data you’re already recording. Most customers chose to phase out NLog in favor of using Loupe’s native API over time except for cases where NLog-specific features are particularly valuable. Whether you use NLog and Loupe together over the long term or just as a means of migrating to Loupe you’re in good hands.
Integration is easy
Just add an assembly reference and a few lines of code or XML. See details for ASP.NET Web Forms, ASP.NET MVC, WinForms, WPF, Services and Entity Framework or read our complete NLog integration documentation.