LoggerExtensions.WriteWarning Method
Writes a warning message for the specified logger.
Namespace: Microsoft.Owin.Logging
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Overload List
Name | Description | |
---|---|---|
WriteWarning(ILogger, String, Exception) | Writes a warning log message. |
|
WriteWarning(ILogger, String, String[]) | Writes a warning log message. |
See Also
LoggerExtensions Class
Microsoft.Owin.Logging Namespace
Return to top
LoggerExtensions.WriteWarning Method (ILogger, String, Exception)
Writes a warning log message.
Syntax
public static void WriteWarning(
this ILogger logger,
string message,
Exception error
)
public:
[ExtensionAttribute]
static void WriteWarning(
ILogger^ logger,
String^ message,
Exception^ error
)
static member WriteWarning :
logger:ILogger *
message:string *
error:Exception -> unit
<ExtensionAttribute>
Public Shared Sub WriteWarning (
logger As ILogger,
message As String,
error As Exception
)
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.
Syntax
public static void WriteWarning(
this ILogger logger,
string message,
params string[] args
)
public:
[ExtensionAttribute]
static void WriteWarning(
ILogger^ logger,
String^ message,
... array<String^>^ args
)
static member WriteWarning :
logger:ILogger *
message:string *
[<ParamArrayAttribute>] args:string[] -> unit
<ExtensionAttribute>
Public Shared Sub WriteWarning (
logger As ILogger,
message As String,
ParamArray args As String()
)
Parameters
- logger
Type: Microsoft.Owin.Logging.ILogger
- message
Type: System.String
- args
Type: System.String[]
Return to top