PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logger Class / Logger Methods / Logger.​Write Method / Logger.​Write(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) Method (Log­Level, String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Caller­Info)

Logger.Write<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Method (LogLevel, String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, 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 void Write<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(
	LogLevel level,
	string text,
	T1 arg1,
	T2 arg2,
	T3 arg3,
	T4 arg4,
	T5 arg5,
	T6 arg6,
	T7 arg7,
	T8 arg8,
	T9 arg9,
	T10 arg10,
	ref CallerInfo callerInfo
)

Parameters

level
Type: PostSharp.Patterns.Diagnostics.LogLevel
text
Type: System.String
arg1
Type: T1
arg2
Type: T2
arg3
Type: T3
arg4
Type: T4
arg5
Type: T5
arg6
Type: T6
arg7
Type: T7
arg8
Type: T8
arg9
Type: T9
arg10
Type: T10
callerInfo
Type: PostSharp.Patterns.Diagnostics.Contexts.CallerInfo

Type Parameters

T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
See Also