OnlyOnceErrorHandlerError Method (String, Exception)Apache log4net™ SDK Documentation
Log an Error

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

public void Error(
	string message,
	Exception e
)

Parameters

message
Type: SystemString
The error message.
e
Type: SystemException
The exception.

Implements

IErrorHandlerError(String, Exception)
Remarks

Invokes FirstError(String, Exception, ErrorCode) if and only if this is the first error or the first error after Reset has been called.

See Also

Reference