Log an Error
Namespace: log4net.UtilAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- message
- Type: System String
The error message.
- e
- Type: System Exception
The exception.
- errorCode
- Type: log4net.Core ErrorCode
The internal error code.
Implements
IErrorHandler Error(String, Exception, ErrorCode)Remarks
Invokes FirstError(String, Exception, ErrorCode) if and only if this is the first error or the first error after Reset has been called.
See Also