Common Logging 2.0 API Reference

AbstractLogger.Error(Object, Exception) Method

Log a message object with the Error level including the stack Error of the Exception passed as a parameter.

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

Parameters

message
The message object to log.
exception
The exception to log, including its stack Error.

Implements

ILog.Error

See Also

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