ComponentSpace Professional .NET and ActiveX components for developers
ComponentSpace Home | Products | Downloads | Support | Purchase | Services | About Us
 

Cycle trace log entries across multiple log files with configurable maximum sizes

.NET
Product Links
 Purchase
single developer - $199 
4 developer team - $299 
8 developer team - $399 
site license - $499 
site + source - $999 
 
 Download
 Documentation
 Code Samples
 Screen Shots
 Testimonials
 Ask a Question

The standard .NET diagnostic log files can become unwieldy. Wouldn’t it be nice if log files could be limited to manageable sizes and automatically cycled?

The Trace Listeners component for .NET is a fully featured, easy to use component that includes cyclic file, HTTP, SMTP and MSMQ trace listeners that extend the System.Diagnostics.TraceListener class. The trace listeners are fully configurable from your application’s XML configuration file. The component offers .NET developers sophisticated tracing options for their applications.

The component is designed specifically for .NET and is written in 100% managed C# code.


What's Included


Cyclic File Trace Listener

  • Extends System.Diagnostics.TraceListener

  • Fully configurable cyclic log file trace listener

  • Specify the location, base name and maximum size of the trace files

  • Automatically include a timestamp with your trace entries

  • The process and thread identifier’s may also be automatically included

  • Include the caller’s class and method name with no user code required


Cyclic Log File

  • Writes to a file (e.g. 00000.log) until it reaches a configurable size and then writes to the next file in the sequence (e.g. 00001.log)

  • Cyclic log file names are of the form: <directoryName>\<filePrefix><sequenceNumber><fileSuffix>


Cyclic Log File Format

  • In the following example trace entry, only the last field was written by the calling application. The trace listener automatically included all other fields.

    07/04/2003 9:24:03 AM, 14220/12972, TestTraceListeners.MainForm.buttonTrace_Click, This is test #1.


Other Trace Listeners

  • HTTP trace listener uploads trace entries to a configured URL

  • SMTP trace listener sends trace entries to a configured email address

  • MSMQ trace listener puts trace entries on a configured queue


Designed for .NET

  • Object oriented design specifically for the .NET framework

  • 100% managed code written in C#