DiagnosticEventCollector(IEnumerable<string>)
public DiagnosticEventCollector(IEnumerable<string>? listenerPrefixes = null) Creates a new diagnostic event collector that subscribes to listeners with names starting with any of the specified prefixes.
Parameters
listenerPrefixesIEnumerable<string>- Prefixes of listener names to subscribe to (e.g., "Orleans." to capture all Orleans events). If empty, subscribes to all listeners.
