Sisk

Method

LogStreamEntry.CreateError

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

CreateError(string) #

Creates an error log entry with the specified message.

C#
public static LogStreamEntry CreateError(string message)

Parameters #

message string

The error message.

Returns #

LogStreamEntry

A new LogStreamEntry instance with Error.

CreateError(Exception) #

Creates an error log entry from the specified exception.

C#
public static LogStreamEntry CreateError(Exception exception)

Parameters #

exception Exception

The exception whose string representation will be used as the message.

Returns #

LogStreamEntry

A new LogStreamEntry instance with Error.

Type to search the documentation and the API reference.