LoggerExtensions.WriteWarning Method (ILogger, String, String[])
Writes a warning log message.
Namespace: Microsoft.Owin.Logging
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Sub WriteWarning ( _
logger As ILogger, _
message As String, _
ParamArray args As String() _
)
'Usage
Dim logger As ILogger
Dim message As String
Dim args As String()
logger.WriteWarning(message, args)
public static void WriteWarning(
this ILogger logger,
string message,
params string[] args
)
[ExtensionAttribute]
public:
static void WriteWarning(
ILogger^ logger,
String^ message,
... array<String^>^ args
)
static member WriteWarning :
logger:ILogger *
message:string *
args:string[] -> unit
public static function WriteWarning(
logger : ILogger,
message : String,
... args : String[]
)
Parameters
- logger
Type: Microsoft.Owin.Logging.ILogger
- message
Type: System.String
- args
Type: System.String[]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ILogger. When you use instance method syntax to call this method, omit the first parameter. For more information, see b8020aae-374d-46a9-bcb7-8cc2390b93b6 or 175ce3ff-9bbf-4e64-8421-faeb81a0bb51.