Method WriteExceptionAsync
WriteExceptionAsync(Exception)
Writes an exception description in the log.
public Task WriteExceptionAsync(Exception exp)
Parameters
expExceptionThe exception which will be written.
Returns
WriteExceptionAsync(Exception, string?)
Writes an exception description in the log.
public Task WriteExceptionAsync(Exception exp, string? extraContext = null)
Parameters
expExceptionThe exception which will be written.
extraContextstringExtra context message to append to the exception message.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語