LoggerExtensions::WriteError Method

 

Writes an error message for the specified logger.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticWriteError(ILogger^, String^)

Writes an error log message.

System_CAPS_pubmethodSystem_CAPS_staticWriteError(ILogger^, String^, Exception^)

Writes an error log message.

Return to top

LoggerExtensions::WriteError Method (ILogger^, String^)

Writes an error log message.

public:
[ExtensionAttribute]
static void WriteError(
	ILogger^ logger,
	String^ message
)

Parameters

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

message
Type: System::String^

Return to top

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

Writes an error log message.

public:
[ExtensionAttribute]
static void WriteError(
	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: