Share via


LoggerExtensions.WriteCritical Method

 

Writes a critical message for the specified logger.

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

Overload List

Name Description
System_CAPS_pubmethodSystem_CAPS_static WriteCritical(ILogger, String)

Writes a critical log message.

System_CAPS_pubmethodSystem_CAPS_static WriteCritical(ILogger, String, Exception)

Writes a critical log message.

See Also

LoggerExtensions Class
Microsoft.Owin.Logging Namespace

Return to top

LoggerExtensions.WriteCritical Method (ILogger, String)

Writes a critical log message.

Syntax

public static void WriteCritical(
    this ILogger logger,
    string message
)
public:
[ExtensionAttribute]
static void WriteCritical(
    ILogger^ logger,
    String^ message
)
static member WriteCritical : 
        logger:ILogger *
        message:string -> unit
<ExtensionAttribute>
Public Shared Sub WriteCritical (
    logger As ILogger,
    message As String
)

Parameters

Return to top

LoggerExtensions.WriteCritical Method (ILogger, String, Exception)

Writes a critical log message.

Syntax

public static void WriteCritical(
    this ILogger logger,
    string message,
    Exception error
)
public:
[ExtensionAttribute]
static void WriteCritical(
    ILogger^ logger,
    String^ message,
    Exception^ error
)
static member WriteCritical : 
        logger:ILogger *
        message:string *
        error:Exception -> unit
<ExtensionAttribute>
Public Shared Sub WriteCritical (
    logger As ILogger,
    message As String,
    error As Exception
)

Parameters

Return to top