PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logger Class / Logger Methods / Logger.​Open­Activity Method / Logger.​Open­Activity(T1, T2, T3, T4) Method (Log­Activity­Options, String, T1, T2, T3, T4, Caller­Info)

Logger.OpenActivity<T1, T2, T3, T4> Method (LogActivityOptions, String, T1, T2, T3, T4, 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 OpenActivity<T1, T2, T3, T4>(
	LogActivityOptions options,
	string text,
	T1 arg1,
	T2 arg2,
	T3 arg3,
	T4 arg4,
	ref CallerInfo callerInfo
)

Parameters

options
Type: PostSharp.Patterns.Diagnostics.LogActivityOptions
text
Type: System.String
arg1
Type: T1
arg2
Type: T2
arg3
Type: T3
arg4
Type: T4
callerInfo
Type: PostSharp.Patterns.Diagnostics.Contexts.CallerInfo

Type Parameters

T1
T2
T3
T4

Return Value

Type: LogActivity
See Also