LoggerExtensions::WriteWarning Method

 

Writes a warning message for the specified logger.

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

Return to top

LoggerExtensions::WriteWarning Method (ILogger^, String^, Exception^)

Writes a warning log message.

public:
[ExtensionAttribute]
static void WriteWarning(
	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^, array<String^>^)

Writes a warning log message.

public:
[ExtensionAttribute]
static void WriteWarning(
	ILogger^ logger,
	String^ message,
	... array<String^>^ args
)

Parameters

logger
Type: Microsoft.Owin.Logging::ILogger^

message
Type: System::String^

args
Type: array<System::String^>^

Return to top
Show: