Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LoggerExtensions.WriteError Method

 

Writes an error message for the specified logger.

Namespace:   Microsoft.Owin.Logging
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticWriteError(ILogger, String)

Writes an error log message.

System_CAPS_pubmethodSystem_CAPS_staticWriteError(ILogger, String, Exception)

Writes an error log message.

Return to top

LoggerExtensions.WriteError Method (ILogger, String)

Writes an error log message.

public static void WriteError(
	this ILogger logger,
	string message
)

Parameters

logger
Type: Microsoft.Owin.Logging.ILogger

message
Type: System.String

Return to top

LoggerExtensions.WriteError Method (ILogger, String, Exception)

Writes an error log message.

public static void WriteError(
	this ILogger logger,
	string message,
	Exception error
)

Parameters

logger
Type: Microsoft.Owin.Logging.ILogger

message
Type: System.String

error
Type: System.Exception

Return to top
Show: