.Net C# Logging and Tracing Tools

If you develop in .Net using C# and wondered if you can have a tool which will help you in logging, here is a list of tools available. Having a good logging for your application will help you to avoid many headaches. It will help you to troubleshoot when things go wrong. Here are some Logging Tool for C#. Hope you find it useful.

Here is a list of C# .Net Logging Tools.

Enterprise Library
The Microsoft Enterprise Library is a collection of reusable software components (application blocks) designed to assist software developers with common enterprise development cross-cutting concerns such as logging.

log4net is a tool to help the programmer output log statements to a variety of output targets. log4net is a port of the excellent log4j framework to the .NET runtime.

NLog is a free logging platform for .NET with rich log routing and management capabilities. It makes it easy to produce and manage high-quality logs for your application regardless of its size or complexity.

Offers easy-to-use collections, logging framework, object pooling, application framework and other utility libraries for .NET

ObjectGuy Framework
The logging framework provides you with an easy means to log information to any destination. It comes complete with loggers that support writing to the system console, a file on disk, a TCP/IP socket, and more.

The framework comes with loggers that can write to:

  • a file on disk

  • the Windows event log

  • a TCP socket

  • memory

  • email

  • Console, Debug, Trace

C# Logger
The C# Logger is designed after the log4j project by apache. It is a logging tool that can be used to write events such as debug, info, warn and error messages to the Windows event log.

The common data projects provide functions principally for ASP.NET projects, together with utilities for creating custom event logs and generating a data access layer.

CSharp Dot Net Logger
Extensible .NET Logger written in C#, w/ advanced message queuing allowing for complete asynchronous use.

NetTrace is a fast, lightweight, easy to use tracing package which allows the developer to  make decisions at runtime so far as what is printed out, how it's printed, and where it's printed to. It also provides assertion handling, trigger support, object dumping, and very fast speed tracing.

SmartInspect is an advanced .NET logging, Java logging and Delphi logging tool for debugging and monitoring software applications. It helps you identify bugs, find solutions to user-reported issues and gives you a precise picture of how your software performs in different environments. Whether you need logging in the development phase, on production systems or at customer sites, SmartInspect is the perfect choice.

Traceract is a prototype debug message tracer..

This is a utility which faciliates your .NET application to publish debugging information and to view them in real-time as they occur.

Traffic Monitor
TrafficMonitor is a framework that generates a web traffic log file much like IIS does but gives you complete control to what goes into the logs. It eliminates unwanted records, provides more recognizable data, and reduces the size of each record. In addition, it can record any event you want into the log, such as when a button is clicked or an ad is displayed. It can output data in delimited and W3C Extended File Format or you can subclass to provide output in other formats including directly writing log entries into a database.

Logger.NET is a logging framework which enables you to include code which contains logging information (like Entermethod, Exitmethod, variable values etc) to be logged

LogThis C# logging framework is a drop-in logging tool module for .Net applications. Supports: Multiple custom profiles; log file naming by day, week, month; max log file size; Windows event log. Simple out of the box, intelligent presets.