LogLog Error Method (Type, String) | Apache log4net™ SDK Documentation

Writes log4net internal error messages to the standard error stream.

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

C#
VB
C++
F#
Copy

    public static void Error(
    	Type source,
    	string message
    )

    Public Shared Sub Error (
    	source As Type,
    	message As String
    )

    public:
    static void Error(
    	Type^ source,
    	String^ message
    )

    static member Error :
            source : Type *
            message : string -> unit

#### Parameters

source
  Type: System
  Type
  The Type that generated this message.
message
  Type: System
  String
  The message to log.

Remarks

All internal error messages are prepended with the string "log4net:ERROR ".

See Also

#### Reference

LogLog Class
Error Overload
log4net.Util Namespace