PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Adapters.​Diagnostic­Source Namespace / Diagnostic­Source­Collecting­Listener Class / Diagnostic­Source­Collecting­Listener Constructor

DiagnosticSourceCollectingListener Constructor

Overload List
  NameDescription
Public methodDiagnosticSourceCollectingListener(LogLevel)
Initializes a new DiagnosticSourceCollectingListener and subscribes to all sources.
Public methodDiagnosticSourceCollectingListener(String[], LogLevel)
Initializes a new DiagnosticSourceCollectingListener and specifies the list of sources to follow.
See Also