Writes a new record to the event log.
Namespace: CMS.EventLogAssembly: CMS.EventLog (in CMS.EventLog.dll) Version: 8.0.0.0 (8.0.5239.26125)
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 (Security, Update, Delete, etc.)
- eventDescription
- Type: System String
Detailed description of the event
- eventUrl
- Type: System String
Event URL address
- userId
- Type: System Int32
ID of the user, who caused logged event
- userName
- Type: System String
Name of the user, who caused logged event
- nodeId
- Type: System Int32
ID value of the document
- documentName
- Type: System String
NamePath value of the document
- ipAddress
- Type: System String
IP Address of the user, who caused logged event
- siteId
- Type: System Int32
ID of the site
- machineName
- Type: System String
Name of machine
- urlReferrer
- Type: System String
Referrer URL
- userAgent
- Type: System String
User agent
- eventTime
- Type: System DateTime
Date and time when the event occurs
See Also