PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logger Class / Logger Methods / Logger.​Open­Async­Activity Method / Logger.​Open­Async­Activity Method (Log­Activity­Options, String, Object[], Caller­Info)

Logger.OpenAsyncActivity Method (LogActivityOptions, String, Object[], CallerInfo)

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public LogActivity OpenAsyncActivity(
	LogActivityOptions options,
	string text,
	Object[] args,
	ref CallerInfo callerInfo
)

Parameters

options
Type: PostSharp.Patterns.Diagnostics.LogActivityOptions
text
Type: System.String
args
Type: System.Object[]
callerInfo
Type: PostSharp.Patterns.Diagnostics.Contexts.CallerInfo

Return Value

Type: LogActivity
See Also