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.WriteError Method
Writes an error message for the specified logger.
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | WriteError(ILogger, String) | Writes an error log message. |
![]() ![]() | WriteError(ILogger, String, Exception) | Writes an error log message. |
LoggerExtensions.WriteError Method (ILogger, String, Exception)
Writes an error log message.
Parameters
- logger
- Type: Microsoft.Owin.Logging.ILogger
- message
- Type: System.String
- error
- Type: System.Exception
Show:

