IDiagnosticSourceActivityFilter.OpenActivity Method |
Method called by DiagnosticSourceCollectingListener when a message suffixed .Start is captured. Should open an activity and return it.
Namespace: PostSharp.Patterns.Diagnostics.Adapters.DiagnosticSource
Assembly: PostSharp.Patterns.Diagnostics.Adapters.DiagnosticSource (in PostSharp.Patterns.Diagnostics.Adapters.DiagnosticSource.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
ILogActivity OpenActivity( LogLevelSource logSource, string activityName, ref CallerInfo callerInfo, Object message )
Parameters
- logSource
- Type: PostSharp.Patterns.Diagnostics.Custom.LogLevelSource
- activityName
- Type: System.String
- callerInfo
- Type: PostSharp.Patterns.Diagnostics.Contexts.CallerInfo
The output value is ignored. - message
- Type: System.Object