PreventMultipleEventsLogStrategy LogEvent Method (String, String, String, String, Exception)Kentico 8.1 API Reference
Writes a new event to the event log.

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

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 (UPDATEDOC, SENDEMAIL, DELETE, etc.)
eventDescription (Optional)
Type: OnlineSystem String
Event message.
exception (Optional)
Type: OnlineSystem Exception
Exception to be logged
See Also