Click or drag to resize
EventLogHelper Class
Class for event helper methods
Inheritance Hierarchy
SystemObject
  CMS.BaseCoreMethods
    CMS.BaseAbstractHelper
      CMS.BaseAbstractHelperEventLogHelper
        CMS.EventLogEventLogHelper

Namespace: CMS.EventLog
Assembly: CMS.EventLog (in CMS.EventLog.dll) Version: 13.0.131
Syntax
C#
public class EventLogHelper : AbstractHelper<EventLogHelper>

The EventLogHelper type exposes the following members.

Constructors
  NameDescription
Public methodEventLogHelper
Top
Properties
  NameDescription
Public propertyStatic memberLogEventsToFile
Indicates if events are logged to the file.
Protected propertyLogEventsToFileInternal
Indicates if events are logged to the file.
Public propertyStatic memberLogFile
Physical path to the log file.
Protected propertyLogFileInternal
Physical path to the log file.
Public propertyStatic memberLogFolder
Physical path to folder where log file is saved.
Protected propertyLogFolderInternal
Physical path to folder where log file is saved.
Top
Methods
  NameDescription
Public methodStatic memberClearEventLog
Clears entire event log and writes new event record with information about this action and the user who performed it.
Protected methodClearEventLogInternal
Clears entire event log and writes new event record with information about this action and the user who performed it.
Public methodStatic memberGetChangedFields
Gets the list of changed fields in the given object.
Protected methodGetChangedFieldsInternal
Gets the list of changed fields in the given object.
Public methodStatic memberGetEventText
Gets log event text from DataRow
Protected methodGetEventTextInternal(EventLogData)
Gets log event text from event data object
Protected methodGetEventTextInternal(EventLogInfo)
Gets log event text from DataRow
Public methodStatic memberGetEventTypeText
Returns user-friendly string for the given event type.
Protected methodGetEventTypeTextInternal
Returns user-friendly string for the given event type.
Public methodStatic memberGetFields
Gets the list of fields in the given object.
Protected methodGetFieldsInternal
Gets the list of fields in the given object.
Public methodStatic memberLogDelete
Logs deletion of an object.
Protected methodLogDeleteInternal
Logs deletion of an object.
Public methodStatic memberLogEventToFile(EventLogInfo)
Logs the log object to file.
Public methodStatic memberLogEventToFile(String, String, String, String, String, Int32, String, Int32, String, String, Int32, String, String, String, DateTime)
Logs the query to file.
Protected methodLogEventToFileInternal(EventLogInfo)
Logs the log object to file.
Protected methodLogEventToFileInternal(String, String, String, String, String, Int32, String, Int32, String, String, Int32, String, String, String, DateTime)
Logs the query to file.
Public methodStatic memberLogInsert
Logs insertion of an object.
Protected methodLogInsertInternal
Logs insertion of an object.
Public methodStatic memberLogUpdate
Logs update of an object.
Protected methodLogUpdateInternal
Logs update of an object.
Public methodStatic memberSendEmailNotification(EventLogData, String)
Sends email notification regarding received eventLogData.
Public methodStatic memberSendEmailNotification(EventLogInfo, String)
Logs the query to file.
Protected methodSendEmailNotificationInternal(EventLogData, String)
Sends email notification regarding received eventLogData.
Protected methodSendEmailNotificationInternal(EventLogInfo, String)
Logs the query to file.
Public methodSetAsDefaultHelper
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.)
Top
See Also