Click or drag to resize
EventLogProviderLogEventInternal Method (EventLogInfo, Boolean)
Writes a new record to the event log.

Namespace: CMS.EventLog
Assembly: CMS.EventLog (in CMS.EventLog.dll) Version: 12.0.0
Syntax
C#
protected virtual EventLogInfo LogEventInternal(
	EventLogInfo eventObject,
	bool logDirectly
)

Parameters

eventObject
Type: CMS.EventLogEventLogInfo
Contains event
logDirectly
Type: SystemBoolean
If true, the event is logged directly to the database. Otherwise, the event is logged to the queue processed by background worker to optimize performance.

Return Value

Type: EventLogInfo
See Also