Click or drag to resize
EventLogService Methods

The EventLogService type exposes the following members.

Methods
  NameDescription
Protected methodEnsureContextInformation
Fills the EventLogData with contextual information about the current request and machine.
Public methodLogEvent
Passes event log data to be written by all registered event log writers and provides the contextual information.
Top
Extension Methods
  NameDescription
Public Extension MethodLogError
Writes a new error to the event log.
(Defined by EventLogServiceExtensions.)
Public Extension MethodLogEvent
Writes a new record to the event log.
(Defined by EventLogServiceExtensions.)
Public Extension MethodLogException
Writes a new error to the event log.
(Defined by EventLogServiceExtensions.)
Public Extension MethodLogInformation
Writes a new information to the event log.
(Defined by EventLogServiceExtensions.)
Public Extension MethodLogWarning(String, String, String, Int32, LoggingPolicy)Overloaded.
Writes a new warning to the event log.
(Defined by EventLogServiceExtensions.)
Public Extension MethodLogWarning(String, String, Exception, Int32, String, LoggingPolicy)Overloaded.
Writes a new warning to the event log.
(Defined by EventLogServiceExtensions.)
Top
See Also