EventLogHelper LogEventToFile Method (String, String, String, String, String, Int32, String, Int32, String, String, Int32, String, String, String, DateTime)Kentico 8.0 API Reference
Logs the query to file.

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. I = information, E = error, W = warning
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
eventUrlReferrer
Type: OnlineSystem String
URL referrer
eventUserAgent
Type: OnlineSystem String
User agent
eventTime
Type: OnlineSystem DateTime
Date and time when the event occurs
See Also