ILog.Error Method (Object, Exception)
ILogError Method (Object, Exception)Apache log4net™ SDK Documentation
Log a message object with the Error level including the stack trace of the Exception passed as a parameter.

Namespace: log4net
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

void Error(
	Object message,
	Exception exception
)

Parameters

message
Type: SystemObject
The message object to log.
exception
Type: SystemException
The exception to log, including its stack trace.
Remarks

See the [M:Error(object)] form for more detailed information.

See Also

Reference

[M:Error(object)]