Microsoft.Extensions.Diagnostics.Tracing.TracingRule
Contains a set of parameters used to determine which activities are enabled for which listeners.
An unspecified SourceName matches all activity sources, an unspecified
OperationName matches all activities within the matching sources, and an unspecified
ListenerName matches all listeners.
Gets a value that indicates whether matched activities are enabled for this listener.
Gets the Name, an exact match.
Gets the OperationName, an exact match.
Gets the ActivitySourceScopes.
Gets the Name, either an exact match, the longest prefix match, or a wildcard pattern using a single *.
public TracingRule(string sourceName, string operationName, string listenerName, ActivitySourceScopes scopes, bool enable)
Initializes a new instance of the TracingRule class.