Common Logging 2.0 API Reference

ILog.ErrorFormat(IFormatProvider, String, Exception, Object) Method

Log a message with the Error level.

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

Parameters

formatProvider
An IFormatProvider that supplies culture-specific formatting information.
format
The format of the message object to log.Format
exception
The exception to log.
args

See Also

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