Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

OnlyOnceErrorHandler.Error�Method�(String)

Log an error

[Visual�Basic]
NotOverridable�Overloads�Public�Sub�Error( _
���ByVal message�As�String�_
)�_
����Implements�IErrorHandler.Error
[C#]
public�void�Error(
���stringmessage
);

Parameters

message
The error message.

Implements

IErrorHandler.Error

Remarks

Invokes FirstError if and only if this is the first error or the first error after Reset has been called.

See Also

OnlyOnceErrorHandler Class | log4net.Util Namespace | OnlyOnceErrorHandler.Error Overload List