log4net SDK Reference |

# 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(
string message
);

#### Parameters

message
  The error message.

#### Implements

IErrorHandler.Error

#### Remarks

Print a the error message passed as parameter on the standard error output stream.

#### See Also

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