Error Method

log4net SDK Reference |

# IErrorHandler.Error Method

Prints the error message passed as a parameter.

#### Overload List

Prints the error message passed as a parameter.

> void Error(string);

Prints the error message passed as a parameter.

> void Error(string,Exception);

Handles the error and information about the error condition is passed as a parameter.

> void Error(string,Exception,ErrorCode);

#### See Also

IErrorHandler Interface | log4net.Core Namespace