Common Logging 2.0 API Reference

ILog.ErrorFormat(String, Exception, Object) Method

Log a message with the Error level.

[Visual Basic]
Public Sub ErrorFormat( _
   ByVal format As String, _
   ByVal exception As Exception, _
   ParamArray args As Object _
)
[C#]
void ErrorFormat(
   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.ErrorFormat Overload List