ComponentSpace Trace Listeners .NET Class Library
The standard .NET diagnostic trace files can become unwieldy.
Published by ComponentSpace
Distributed by ComponentSource since 2002
Prices from: $ 97.02 Version: v1.6.0.2 Updated: Mar 25, 2006
The standard .NET diagnostic trace files can become unwieldy.
Trace Listeners .NET Class Library includes a cyclic file trace listener that extends the System.Diagnostics.TraceListener class. The trace listener is fully configurable from your application’s XML configuration file. Also included are HTTP, SMTP and MSMQ trace listeners. Written in 100% managed C# code, the class library offers .NET developers sophisticated tracing options for their applications.
The cyclic file trace listener 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). When you configure the cyclic file trace listener you may specify the folder location for the trace files, the trace file prefix, suffix and starting sequence number. Trace files are written to the specified directory and are named:
\.
You may also specify the maximum file size as well as the field separator for trace entries, and whether timestamps, process and thread identifiers, and the callers class and method name are automatically included with each trace entry. Of course, you may also configure all these properties at runtime from within your code if you choose. 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/2002 9:24:03 AM, 14220/12972, TestTraceListeners.MainForm.buttonTrace_Click, This is test #1.
The HTTP trace listener uploads trace entries to a configured URL. The SMTP trace listener sends trace entries to a configured email address. The MSMQ trace listener puts trace entries on a configured queue.
Main Features