Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

ILogExtensions.ErrorExt�Method�(ILog, Object, Exception)

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

[Visual�Basic]
Overloads�Public�Shared�Sub�ErrorExt( _
���ByVal logger�As�ILog,�_
���ByVal message�As�Object,�_
���ByVal exception�As�Exception�_
)
[C#]
public�static�void�ErrorExt(
���ILoglogger,
���objectmessage,
���Exceptionexception
);

Parameters

logger
The logger on which the message is logged.
message
The message object to log.
exception
The exception to log, including its stack trace.

Remarks

See the ErrorExt form for more detailed information.

See Also

ILogExtensions Class | log4net.Util Namespace | ILogExtensions.ErrorExt Overload List | Error | IsErrorEnabled