This is a TraceListener that redirects all trace events to PostSharp, using the name of the event source that created the event as the name of the log source to be sent to PostSharp.
Inheritance
TraceSourceCollectingTraceListener
Implements
Namespace: PostSharp.Patterns.Diagnostics.Backends.TraceSource
Assembly: PostSharp.Patterns.Diagnostics.Backends.Tracing.dll
Syntax
public class TraceSourceCollectingTraceListener : BaseCollectingTraceListener, IDisposable
Constructors
Name | Description |
---|---|
TraceSourceCollectingTraceListener() |
Methods
Name | Description |
---|---|
TraceCore(string, TraceEventType, string) | Sends an event to PostSharp where you provide the |
TraceCore(string, TraceEventType, string, object[]) | Sends an event to PostSharp where the text is provided as a formatting string and an array of parameters. |