IErrorHandler Error Method (String) | Apache log4net™ SDK Documentation

Prints the error message passed as a parameter.

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

C#
VB
C++
F#
Copy

    void Error(
    	string message
    )

    Sub Error (
    	message As String
    )

    void Error(
    	String^ message
    )

    abstract Error :
            message : string -> unit

#### Parameters

message
  Type: System
  String
  The message associated with the error.

Remarks

See [M:Error(string,Exception,ErrorCode)].

See Also

#### Reference

IErrorHandler Interface
Error Overload
log4net.Core Namespace