ILogger.OpenActivity Method |
Opens an activity.
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.9.11.0 (6.9.11.0)
C#
ILoggingContext OpenActivity( LogActivityOptions options, ref CallerInfo callerInfo )
Parameters
- options
- Type: PostSharp.Patterns.Diagnostics.LogActivityOptions
Options. - callerInfo
- Type: PostSharp.Patterns.Diagnostics.Contexts.CallerInfo
Information about the caller source code.
Return Value
Type: ILoggingContextAn ILoggingContext representing the new activity.