Click or drag to resize
LogListener Methods

The LogListener type exposes the following members.

Methods
  NameDescription
Public methodDisableEvents
Disables all events for the specified event source.
(Inherited from EventListener.)
Public methodDispose
Releases the resources used by the current instance of the EventListener class.
(Inherited from EventListener.)
Public methodEnableEvents(EventSource, EventLevel)
Enables events for the specified event source that has the specified verbosity level or lower.
(Inherited from EventListener.)
Public methodEnableEvents(EventSource, EventLevel, EventKeywords)
Enables events for the specified event source that has the specified verbosity level or lower, and matching keyword flags.
(Inherited from EventListener.)
Public methodEnableEvents(EventSource, EventLevel, EventKeywords, IDictionaryString, String)
Enables events for the specified event source that has the specified verbosity level or lower, matching event keyword flag, and matching arguments.
(Inherited from EventListener.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnEventSourceCreated
Called for all existing event sources when the event listener is created and when a new event source is attached to the listener. Enables log sources to the appropriate event level.
(Overrides EventListenerOnEventSourceCreated(EventSource).)
Protected methodOnEventWritten
Called whenever an event has been written by an event source for which the event listener has enabled events.
(Inherited from EventListener.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also