Subscribes to DiagnosticListener and emits messages and activities to PostSharp Logging. After calling the constructor, you must call the FollowActivity(String, IDiagnosticSourceActivityFilter) and then Subscribe() methods to start listening to events.
public sealed class DiagnosticSourceCollectingListener : Object
Initializes a new DiagnosticSourceCollectingListener and subscribes to all sources.
Initializes a new DiagnosticSourceCollectingListener and specifies the list of sources to follow.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Follows a specific activity.
Subscribes to event sources.