LogContext LogEvent Method Kentico 8.0 API Reference
Writes a new record to the event log.

Namespace: CMS.EventLog
Assembly: CMS.EventLog (in CMS.EventLog.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

eventType
Type: OnlineSystem String
Type of the event. Please use predefined constants from EventLogProvider
source
Type: OnlineSystem String
Source of the event (Content, Administration, etc.)
eventCode
Type: OnlineSystem String
Event code (Security, Update, Delete, etc.)
eventDescription
Type: OnlineSystem String
Detailed description of the event
eventUrl
Type: OnlineSystem String
Event URL address
userId
Type: OnlineSystem Int32
ID of the user, who caused logged event
userName
Type: OnlineSystem String
Name of the user, who caused logged event
nodeId
Type: OnlineSystem Int32
ID value of the document
documentName
Type: OnlineSystem String
NamePath value of the document
ipAddress
Type: OnlineSystem String
IP Address of the user, who caused logged event
siteId
Type: OnlineSystem Int32
ID of the site
machineName
Type: OnlineSystem String
Name of machine
urlReferrer
Type: OnlineSystem String
Referrer URL
userAgent
Type: OnlineSystem String
User agent
eventTime
Type: OnlineSystem DateTime
Date and time when the event occurs
See Also