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

 

Writes a warning message for the specified logger.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticWriteWarning(ILogger, String, Exception)

Writes a warning log message.

System_CAPS_pubmethodSystem_CAPS_staticWriteWarning(ILogger, String, String[])

Writes a warning log message.

Return to top

LoggerExtensions.WriteWarning Method (ILogger, String, Exception)

Writes a warning log message.

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

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

Writes a warning log message.

public static void WriteWarning(
	this ILogger logger,
	string message,
	params string[] args
)

Parameters

logger
Type: Microsoft.Owin.Logging.ILogger

message
Type: System.String

args
Type: System.String[]

Return to top
Show: