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.WriteCritical Method

 

Writes a critical message for the specified logger.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticWriteCritical(ILogger, String)

Writes a critical log message.

System_CAPS_pubmethodSystem_CAPS_staticWriteCritical(ILogger, String, Exception)

Writes a critical log message.

Return to top

LoggerExtensions.WriteCritical Method (ILogger, String)

Writes a critical log message.

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

Parameters

logger
Type: Microsoft.Owin.Logging.ILogger

message
Type: System.String

Return to top

LoggerExtensions.WriteCritical Method (ILogger, String, Exception)

Writes a critical log message.

public static void WriteCritical(
	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: