Method WriteException
WriteException(Exception)
Writes an exception description in the log.
public virtual void WriteException(Exception exp)
Parameters
exp
ExceptionThe exception which will be written.
WriteException(Exception, string?)
Writes an exception description in the log.
public virtual void WriteException(Exception exp, string? extraContext = null)