Ukadc.Diagnostics.Listeners.ConsoleTraceListener
Description
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">
<listeners>
<add type="Ukadc.Diagnostics.Listeners.ConsoleTraceListener, Ukadc.Diagnostics"
name="console" initializeData="{EventType}: {Id}, {Source}, {Message}" />
</listeners>
</source>
The initializeData attribute specifies a
CombinedToken.