LoggerExtensions.WriteError Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WriteError(ILogger, String) |
Writes an error log message. |
WriteError(ILogger, String, Exception) |
Writes an error log message. |
WriteError(ILogger, String)
- Source:
- LoggerExtensions.cs
Writes an error log message.
public static void WriteError (this Microsoft.Owin.Logging.ILogger logger, string message);
static member WriteError : Microsoft.Owin.Logging.ILogger * string -> unit
<Extension()>
Public Sub WriteError (logger As ILogger, message As String)
Parameters
- logger
- ILogger
- message
- String
Applies to
WriteError(ILogger, String, Exception)
- Source:
- LoggerExtensions.cs
Writes an error log message.
public static void WriteError (this Microsoft.Owin.Logging.ILogger logger, string message, Exception error);
static member WriteError : Microsoft.Owin.Logging.ILogger * string * Exception -> unit
<Extension()>
Public Sub WriteError (logger As ILogger, message As String, error As Exception)
Parameters
- logger
- ILogger
- message
- String
- error
- Exception