Sisk

Method

LogStream.WriteException

Namespace
Sisk.Core.Http
Assembly
Sisk.Core.dll

WriteException(Exception) #

Writes an exception description in the log.

C#
public void WriteException(Exception exp)

Parameters #

exp Exception

The exception which will be written.

WriteException(Exception, string?) #

Writes an exception description in the log.

C#
public virtual void WriteException(Exception exp, string? extraContext = null)

Parameters #

exp Exception

The exception which will be written.

extraContext string?

Extra context message to append to the exception message.

Type to search the documentation and the API reference.