This project is read-only.



An implementation of a CustomTraceListener that writes to the Console window with a formatted value thanks to a CombinedToken.

Example Usage

The first step is to add the ConsoleTraceListener to your configured listeners

<source name="myTraceSource" switchValue="All">
    <add type="Ukadc.Diagnostics.Listeners.ConsoleTraceListener, Ukadc.Diagnostics" 
name="console" initializeData="{EventType}: {Id}, {Source}, {Message}" />

The initializeData attribute specifies a CombinedToken.

Last edited Apr 21, 2008 at 8:55 PM by joshtwist, version 1


No comments yet.