ComponentSpace Trace Listeners .NET Class Library について

煩雑になりがちな.NETのトレースファイルの管理を簡素化するオプションを多数搭載

Trace Listeners .NET Class Library はSystem.Diagnostics.TraceListener クラスを拡張する循環的ファイル trace listnerを含みます。trace listnerはアプリケーションのXMLコンフィギュレーション・ファイルから構成可能です。HTTP、SMTPと MSMQ trace listnerが同じく含まれています。100%マネージドC#コード で書かれ、クラス・ライブラリはアプリケーションの .NET デベロッパーの精巧なトレーシングオプションを提供します。

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

  • Fully configurable cyclic 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 identifiers may also be automatically included
  • Include the callers class and method name with no user code required
  • Also HTTP, SMTP and MSMQ trace listeners
  • 100% managed code written in C#
  • Object oriented design specifically for the .NET framework
  • All error handling through .NET exceptions
  • Comprehensive Visual Studio .NET style documentation
  • VB.NET and C# example source code
  • Includes prompt free email support
  • Royalty free runtime
  • Source code available