Click or drag to resize
DefaultLoggingStrategyLogEvent Method (String, String, String, String, Exception)
Writes a new record to the event log.

Namespace: CMS.EventLog
Assembly: CMS.EventLog (in CMS.EventLog.dll) Version: 8.2.23
Syntax
C#
public override void LogEvent(
	string eventType,
	string source,
	string eventCode,
	string eventDescription = "",
	Exception exception = null
)

Parameters

eventType
Type: SystemString
Type of the event. Please use predefined constants from EventLogProvider
source
Type: SystemString
Source of the event (Content, Administration, etc.)
eventCode
Type: SystemString
Event code (UPDATEDOC, SENDEMAIL, DELETE, etc.)
eventDescription (Optional)
Type: SystemString
Detailed description of the event.
exception (Optional)
Type: SystemException
Fired exception.

Implements

IEventLogStrategyLogEvent(String, String, String, String, Exception)
See Also