Log a message object with the Error level including
the stack trace of the Exception passed
as a parameter.
Namespace: log4net
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
Parameters
- message
- Type: SystemObject
The message object to log. - exception
- Type: SystemException
The exception to log, including its stack trace.
Remarks
See the [M:Error(object)] form for more detailed information.
See Also
Reference
[M:Error(object)]