IEventLogServiceLogEvent Method |
Writes a new record to the event log.
Namespace: CMS.CoreAssembly: CMS.Core (in CMS.Core.dll) Version: 9.0.0
Syntax void LogEvent(
string eventType,
string source,
string eventCode,
string eventDescription
)
Parameters
- eventType
- Type: SystemString
Type of the event. Please use predefined constants from EventLogProvider - source
- Type: SystemString
Source of the event (Content, Administration, etc.) - eventCode
- Type: SystemString
Event code (UPDATEDOC, SENDEMAIL, DELETE, etc.) - eventDescription
- Type: SystemString
Detailed description of the event
See Also