Method RedirectLoggingToPostSharp
RedirectLoggingToPostSharp()
Redirects all Trace events to be sent to PostSharp and clears all other listeners from Listeners. Those listeners are returned in the return value.
Declaration
public static List<TraceListener> RedirectLoggingToPostSharp()
Returns
Type | Description |
---|---|
List<TraceListener> | Listeners previously in the Listeners collections, excluding the new TraceCollectingTraceListener. |