Common Logging 2.0 API Reference

ILog.WarnFormat(String, Exception, Object) Method

Log a message with the Warn level.

[Visual Basic]
Public Sub WarnFormat( _
   ByVal format As String, _
   ByVal exception As Exception, _
   ParamArray args As Object _
)
[C#]
void WarnFormat(
   string format,
   Exception exception,
   params object[] args
);

Parameters

format
The format of the message object to log.Format
exception
The exception to log.
args
the list of format arguments

See Also

ILog Interface | Common.Logging Namespace | ILog.WarnFormat Overload List