Method FollowActivity
FollowActivity(String, IDiagnosticSourceActivityFilter)
Follows a specific activity.
Declaration
public void FollowActivity([Required] string activityName, IDiagnosticSourceActivityFilter filter = null)
Parameters
Type | Name | Description |
---|---|---|
String | activityName | Name of the activity to follow. |
IDiagnosticSourceActivityFilter | filter | Determines how a DiagnosticListener activity must be translated into a PostSharp Logging activity. This parameter is mandatory under .NET Framework because there is no way to automatically implement the TryGetCorrelationKey(Object, out Object) method. It is optional under .NET Core. |