Writes a new error to the event log.
Namespace: CMS.EventLogAssembly: CMS.EventLog (in CMS.EventLog.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- source
- Type: System String
Source of the event (Content, Administration, etc.)
- eventCode
- Type: System String
Event code (UPDATEDOC, SENDEMAIL, DELETE, etc.)
- ex
- Type: System Exception
Exception to be logged
- siteId (Optional)
- Type: System Int32
Current site ID
- additionalMessage (Optional)
- Type: System String
Additional information to the exception message
- allowMultiple (Optional)
- Type: System Boolean
If true, it is allowed to log this exception multiple times within the application run
See Also