iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

AbstractLogger.Error Method (Object, Exception)

Log a Error message with an optional Exception.

[Visual Basic]
NotOverridable Overloads Public Sub Error( _
   ByVal Object As Object, _
   ByVal Exception As Exception _
) _
    Implements ILog.
[C#]
public void Error(
   Object message,
   Exception e
);

Parameters

message
The message to log.
e
The Exception associated with the message. If there isn't any Exception associated with the message, pass a null reference (Nothing in Visual Basic).

Implements

ILog.

See Also

AbstractLogger Class | IBatisNet.Common.Logging.Impl Namespace | AbstractLogger.Error Overload List