IErrorHandlerError Method (String, Exception)Apache log4net™ SDK Documentation
Prints the error message passed as a parameter.

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

void Error(
	string message,
	Exception e
)

Parameters

message
Type: SystemString
The message associated with the error.
e
Type: SystemException
The Exception that was thrown when the error occurred.
Remarks

See [M:Error(string,Exception,ErrorCode)].

See Also

Reference