Base class for TraceListeners that redirect trace events to PostSharp.
Inheritance
BaseCollectingTraceListener
Implements
Namespace: PostSharp.Patterns.Diagnostics.Backends.Trace
Assembly: PostSharp.Patterns.Diagnostics.Backends.Tracing.dll
Syntax
public abstract class BaseCollectingTraceListener : TraceListener, IDisposable
Constructors
Name | Description |
---|---|
BaseCollectingTraceListener() |
Methods
Name | Description |
---|---|
ConvertLevel(TraceEventType) | Gets the PostSharp log level that corresponds to the given |
Fail(string, string) | |
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. |
TraceData(TraceEventCache, string, TraceEventType, int, object) | |
TraceData(TraceEventCache, string, TraceEventType, int, params object[]) | |
TraceEvent(TraceEventCache, string, TraceEventType, int) | |
TraceEvent(TraceEventCache, string, TraceEventType, int, string) | |
TraceEvent(TraceEventCache, string, TraceEventType, int, string, params object[]) | |
Write(string) | |
WriteLine(string) |