How Does NLog Compare To 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 NLog?

NLog is an open source logging framework initially developed for .NET Framework intended as a more modern replacement for Log4Net, which was largely ported from Log4j early in the history of .NET. NLog provided a better configuration experience, richer log data, and other enhancements enabling advanced log capture scenarios that weren’t possible with Log4Net. It’s also lightweight and fast, with minimal dependencies.

What is Loupe?

Loupe (originally known as Gibraltar) was created by Gibraltar Software to fill the gaps present in existing log frameworks with an emphasis on making it easy to record as much data as possible, move it to where it needed to be analyzed, and provide great analytics tools to make sense of it all. Loupe comes in three parts:

  • A free agent which is bundled with your app to capture log messages and performance metrics.
  • A free desktop log viewer (for analysis and basic viewing of local log files).
  • A web based centralize logging platform which collects, organizes and categorizes potential issues to make them easier to search across and troubleshoot.

Loupe has its own basic logging API in the Loupe Agent, which works great, but NLog offers advanced features that make it easier to capture rich data that then is stored & managed by Loupe.

To get going, follow the basic instructions on adding the Loupe Agent to your application and then if you want to capture data from NLog follow our NLog integration documentation for the quick and easy way to use Loupe as a Log Sink to capture all your NLog data.

Loupe Log ViewerWith Loupe set up, you can use the free Loupe Desktop Viewer to view local log information or signing up for a trial of Loupe Cloud-Hosted 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.

Metric Analysis with Loupe

So which should I choose?

If you’re just starting out with .NET framework and have basic logging needs, you can just install Loupe and have everything in one package - logging, metrics, and centralization of the data so you can view it.

But, if your team is comfortable with logging and is looking to up their game, using NLog provides a number of useful enhancements which you can take advantage of and have Loupe record everything. In short, use NLog as your main Logging API but use Loupe as your Log Sink (and transport & viewer).

Integration is easy

To get started with Loupe, 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

To add Nlog, read our complete NLog integration documentation.

Rock solid centralized logging

Unlimited applications, unlimited errors, scalable from solo startup to enterprise.