Sisk

Method

LogStreamEntry.CreateWarning

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

CreateWarning(string) #

Creates a warning log entry with the specified message.

C#
public static LogStreamEntry CreateWarning(string message)

Parameters #

message string

The warning message.

Returns #

LogStreamEntry

A new LogStreamEntry instance with Warning.

CreateWarning(Exception) #

Creates a warning log entry from the specified exception.

C#
public static LogStreamEntry CreateWarning(Exception exception)

Parameters #

exception Exception

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

Returns #

LogStreamEntry

A new LogStreamEntry instance with Warning.

Type to search the documentation and the API reference.