ObserverLogToEventlog Class

Design Pattern Framework 3.5

Design Pattern Framework 3.5 ObserverLogToEventlog Class
Patterns-In-Action! ApplicationLogObserverLogToEventlog
Class that writes log events to the event log.
Declaration Syntax
C# Visual Basic
public class ObserverLogToEventlog : ILog
Public Class ObserverLogToEventlog _
	Implements ILog
Members
All Members Constructors Methods



Icon Member Description
ObserverLogToEventlog()()()
Initializes a new instance of the ObserverLogToEventlog class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Log(Object, LogEventArgs)
Write a log request to the event log.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Remarks
GoF Design Pattern: Observer. The Observer Design Pattern allows this class to attach itself to an the logger and 'listen' to certain events and be notified of the event.
Inheritance Hierarchy
Object
ObserverLogToEventlog

Assembly: Log (Module: Log) Version: 1.0.0.0 (1.0.0.0)