Share via


LoggerExtensions.WriteError Method

Definition

Overloads

WriteError(ILogger, String)

Writes an error log message.

WriteError(ILogger, String, Exception)

Writes an error log message.

WriteError(ILogger, String)

Source:
LoggerExtensions.cs

Writes an error log message.

public static void WriteError (this Microsoft.Owin.Logging.ILogger logger, string message);
static member WriteError : Microsoft.Owin.Logging.ILogger * string -> unit
<Extension()>
Public Sub WriteError (logger As ILogger, message As String)

Parameters

logger
ILogger
message
String

Applies to

WriteError(ILogger, String, Exception)

Source:
LoggerExtensions.cs

Writes an error log message.

public static void WriteError (this Microsoft.Owin.Logging.ILogger logger, string message, Exception error);
static member WriteError : Microsoft.Owin.Logging.ILogger * string * Exception -> unit
<Extension()>
Public Sub WriteError (logger As ILogger, message As String, error As Exception)

Parameters

logger
ILogger
message
String
error
Exception

Applies to