Logger.WriteException Method (LogLevel, Exception, String) |
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.21.0 (6.5.21.0)
public void WriteException( LogLevel level, Exception exception, string text )
Parameters
- level
- Type: PostSharp.Patterns.Diagnostics.LogLevel
The severity of the record (e.g. Warning or Error). - exception
- Type: System.Exception
The Exception associated with the record. - text
- Type: System.String
The text of the log record.