PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logger Class / Logger Methods / Logger.​Write­Exception Method

Logger.WriteException Method

Overload List
  NameDescription
Public methodWriteException(LogLevel, Exception, String)
Writes a custom record without parameters and associates it with an Exception.
Public methodWriteException(LogLevel, Exception, String, CallerInfo)
Public methodWriteException(LogLevel, Exception, String, Object[])
Writes a custom record with an array of parameters and associates it with an Exception.
Public methodWriteException<T1>(LogLevel, Exception, String, T1)
Writes a custom log record with 1 parameter and associates it with an Exception.
Public methodWriteException(LogLevel, Exception, String, Object[], CallerInfo)
Public methodWriteException<T1>(LogLevel, Exception, String, T1, CallerInfo)
Public methodWriteException<T1, T2>(LogLevel, Exception, String, T1, T2)
Writes a custom log record with 2 parameters and associates it with an Exception.
Public methodWriteException<T1, T2>(LogLevel, Exception, String, T1, T2, CallerInfo)
Public methodWriteException<T1, T2, T3>(LogLevel, Exception, String, T1, T2, T3)
Writes a custom log record with 3 parameters and associates it with an Exception.
Public methodWriteException<T1, T2, T3>(LogLevel, Exception, String, T1, T2, T3, CallerInfo)
Public methodWriteException<T1, T2, T3, T4>(LogLevel, Exception, String, T1, T2, T3, T4)
Writes a custom log record with 4 parameters and associates it with an Exception.
Public methodWriteException<T1, T2, T3, T4>(LogLevel, Exception, String, T1, T2, T3, T4, CallerInfo)
Public methodWriteException<T1, T2, T3, T4, T5>(LogLevel, Exception, String, T1, T2, T3, T4, T5)
Writes a custom log record with 5 parameters and associates it with an Exception.
Public methodWriteException<T1, T2, T3, T4, T5>(LogLevel, Exception, String, T1, T2, T3, T4, T5, CallerInfo)
Public methodWriteException<T1, T2, T3, T4, T5, T6>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6)
Writes a custom log record with 6 parameters and associates it with an Exception.
Public methodWriteException<T1, T2, T3, T4, T5, T6>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6, CallerInfo)
Public methodWriteException<T1, T2, T3, T4, T5, T6, T7>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6, T7)
Writes a custom log record with 7 parameters and associates it with an Exception.
Public methodWriteException<T1, T2, T3, T4, T5, T6, T7>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6, T7, CallerInfo)
Public methodWriteException<T1, T2, T3, T4, T5, T6, T7, T8>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6, T7, T8)
Writes a custom log record with 8 parameters and associates it with an Exception.
Public methodWriteException<T1, T2, T3, T4, T5, T6, T7, T8>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6, T7, T8, CallerInfo)
Public methodWriteException<T1, T2, T3, T4, T5, T6, T7, T8, T9>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6, T7, T8, T9)
Writes a custom log record with 9 parameters and associates it with an Exception.
Public methodWriteException<T1, T2, T3, T4, T5, T6, T7, T8, T9>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6, T7, T8, T9, CallerInfo)
Public methodWriteException<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
Writes a custom log record with 10 parameters and associates it with an Exception.
Public methodWriteException<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(LogLevel, Exception, String, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, CallerInfo)
See Also