EventLogService Class |
Namespace: CMS.EventLog
public class EventLogService : IEventLogService
The EventLogService type exposes the following members.
Name | Description | |
---|---|---|
EventLogService |
Initializes a new instance of the EventLogService class.
| |
EventLogService(IEnumerableIEventLogWriter) |
Initializes a new instance of the EventLogService class.
|
Name | Description | |
---|---|---|
EnsureContextInformation |
Fills the EventLogData with contextual information about the current request and machine.
| |
LogEvent |
Passes event log data to be written by all registered event log writers and provides the contextual information.
|
Name | Description | |
---|---|---|
LogError |
Writes a new error to the event log.
(Defined by EventLogServiceExtensions.) | |
LogEvent |
Writes a new record to the event log.
(Defined by EventLogServiceExtensions.) | |
LogException |
Writes a new error to the event log.
(Defined by EventLogServiceExtensions.) | |
LogInformation |
Writes a new information to the event log.
(Defined by EventLogServiceExtensions.) | |
LogWarning(String, String, String, Int32, LoggingPolicy) | Overloaded.
Writes a new warning to the event log.
(Defined by EventLogServiceExtensions.) | |
LogWarning(String, String, Exception, Int32, String, LoggingPolicy) | Overloaded.
Writes a new warning to the event log.
(Defined by EventLogServiceExtensions.) |