Skip to content

DiagnosticEventCollector.DiagnosticEventCollector(string[])

DiagnosticEventCollector(string[])

View source
public DiagnosticEventCollector(params string[] listenerPrefixes)
Creates a new diagnostic event collector that subscribes to listeners with names starting with any of the specified prefixes.

Parameters

listenerPrefixesstring[]
Prefixes of listener names to subscribe to (e.g., "Orleans." to capture all Orleans events). If empty, subscribes to all listeners.