Share via


LoggerExtensions.WriteWarning Method

 

Writes a warning 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 WriteWarning(ILogger, String, Exception)

Writes a warning log message.

System_CAPS_pubmethodSystem_CAPS_static WriteWarning(ILogger, String, String[])

Writes a warning log message.

See Also

LoggerExtensions Class
Microsoft.Owin.Logging Namespace

Return to top

LoggerExtensions.WriteWarning Method (ILogger, String, Exception)

Writes a warning log message.

Syntax

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

Parameters

Return to top

LoggerExtensions.WriteWarning Method (ILogger, String, String[])

Writes a warning log message.

Syntax

public static void WriteWarning(
    this ILogger logger,
    string message,
    params string[] args
)
public:
[ExtensionAttribute]
static void WriteWarning(
    ILogger^ logger,
    String^ message,
    ... array<String^>^ args
)
static member WriteWarning : 
        logger:ILogger *
        message:string *
        [<ParamArrayAttribute>] args:string[] -> unit
<ExtensionAttribute>
Public Shared Sub WriteWarning (
    logger As ILogger,
    message As String,
    ParamArray args As String()
)

Parameters

Return to top