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

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.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
allowMultiple (Optional)
Type: OnlineSystem Boolean
If true, it is allowed to log this exception multiple times within the application run
See Also