PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / IContext­Local­Logger Interface / IContext­Local­Logger Methods / IContext­Local­Logger.​Open­Activity Method

IContextLocalLogger.OpenActivity Method

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.19.0 (6.5.19.0)
Syntax
C#
ILoggingContext OpenActivity(
	 in OpenActivityOptions options,
	ref CallerInfo callerInfo
)

Parameters

options
Type: PostSharp.Patterns.Diagnostics.OpenActivityOptionsInAttribute
callerInfo
Type: PostSharp.Patterns.Diagnostics.Contexts.CallerInfo

Return Value

Type: ILoggingContext
See Also