log4net SDK Documentation - Microsoft .NET Framework 4.0

LogLog.Error Method (Type, String, Exception)

Writes log4net internal error messages to the standard error stream.

[Visual Basic]
Overloads Public Shared Sub Error( _
   ByVal source As Type, _
   ByVal message As String, _
   ByVal exception As Exception _
)
[C#]
public static void Error(
   Type source,
   string message,
   Exception exception
);

Parameters

source
The Type that generated this message.
message
The message to log.
exception
An exception to log.

Remarks

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

See Also

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