Logger.Write<T1, T2, T3, T4> Method (LogLevel, String, T1, T2, T3, T4) |
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.19.0 (6.5.19.0)
public void Write<T1, T2, T3, T4>( LogLevel level, string formattingString, T1 arg1, T2 arg2, T3 arg3, T4 arg4 )
Parameters
- level
- Type: PostSharp.Patterns.Diagnostics.LogLevel
The severity of the record (e.g. Info or Warning). - formattingString
- Type: System.String
The text of the log record, including parameters (e.g. Opening {Path} file {ShareMode} sharing mode). - arg1
- Type: T1
Value of the first parameter. - arg2
- Type: T2
Value of the second parameter. - arg3
- Type: T3
Value of the third parameter. - arg4
- Type: T4
Value of the 4-th parameter.
Type Parameters
- T1
- Type of the first parameter.
- T2
- Type of the second parameter.
- T3
- Type of the third parameter.
- T4
- Type of the 4-th parameter.