Log the very first error
Namespace: log4net.UtilAssembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
public virtual void FirstError(
string message,
Exception e,
ErrorCode errorCode
)
Public Overridable Sub FirstError (
message As String,
e As Exception,
errorCode As ErrorCode
)
public:
virtual void FirstError(
String^ message,
Exception^ e,
ErrorCode errorCode
)
abstract FirstError :
message : string *
e : Exception *
errorCode : ErrorCode -> unit
override FirstError :
message : string *
e : Exception *
errorCode : ErrorCode -> unit
Parameters
- message
- Type: SystemString
The error message. - e
- Type: SystemException
The exception. - errorCode
- Type: log4net.CoreErrorCode
The internal error code.
Sends the error information to LogLog's Error method.
Reference