log4net SDK Reference |

# LogLog.Error Method (String, Exception)

Writes log4net internal error messages to the standard error stream.

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

#### Parameters

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