EventLogProvider LogException Method Kentico 8.1 API Reference
Writes a new error to the event log.

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

Parameters

source
Type: OnlineSystem String
Source of the event (Content, Administration, etc.)
eventCode
Type: OnlineSystem String
Event code (UPDATEDOC, SENDEMAIL, DELETE, etc.)
ex
Type: OnlineSystem Exception
Exception to be logged
siteId (Optional)
Type: OnlineSystem Int32
Current site ID
additionalMessage (Optional)
Type: OnlineSystem String
Additional information to the exception message
allowMultiple (Optional)
Type: OnlineSystem Boolean
If true, it is allowed to log this exception multiple times within the application run
See Also