Click or drag to resize
IEventLogServiceLogEvent Method
Writes a new record to the event log.

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 12.0.0
Syntax
C#
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