Common Logging 2.0 API Reference

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

Log a message with the Error level.

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

Parameters

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

Implements

ILog.ErrorFormat

See Also

AbstractLogger Class | Common.Logging.Factory Namespace | AbstractLogger.ErrorFormat Overload List