Logger.WriteException<T1, T2> Method (LogLevel, Exception, String, T1, T2, CallerInfo) |
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.55.0 (5.0.55.0)
C#
public void WriteException<T1, T2>( LogLevel level, Exception exception, string text, T1 arg1, T2 arg2, ref CallerInfo callerInfo )
Parameters
- level
- Type: PostSharp.Patterns.Diagnostics.LogLevel
- exception
- Type: System.Exception
- text
- Type: System.String
- arg1
- Type: T1
- arg2
- Type: T2
- callerInfo
- Type: PostSharp.Patterns.Diagnostics.Contexts.CallerInfo
Type Parameters
- T1
- T2