Writes a new event to the event log.
Namespace: CMS.EventLogAssembly: CMS.EventLog (in CMS.EventLog.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- eventType
- Type: System String
Type of the event. Please use predefined constants from EventLogProvider
- source
- Type: System String
Source of the event (Content, Administration, etc.)
- eventCode
- Type: System String
Event code (UPDATEDOC, SENDEMAIL, DELETE, etc.)
- eventDescription (Optional)
- Type: System String
Event message.
- exception (Optional)
- Type: System Exception
Exception to be logged
See Also