Table of Contents

Method WriteExceptionAsync

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

WriteExceptionAsync(Exception)

Writes an exception description in the log.

public Task WriteExceptionAsync(Exception exp)

Parameters

exp Exception

The exception which will be written.

Returns

Task

WriteExceptionAsync(Exception, string?)

Writes an exception description in the log.

public Task WriteExceptionAsync(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.

Returns

Task