OnlyOnceErrorHandler.Error Method (String)Apache log4netâ„¢ SDK Documentation
Log an error

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

public void Error(
	string message
)

Parameters

message
Type: System.String
The error message.

Implements

IErrorHandler.Error(String)
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