The CompositeLogger type exposes the following members.

Constructors

  NameDescription
CompositeLogger
Create a new instance of CompositeLogger

Methods

  NameDescription
AddLogger
Add a Logger to this CompositeLogger.
CreateLogEntry
Create a LogEntry.
(Inherited from Logger.)
DoLog
Send the log message to contained Loggers.
(Overrides Logger..::.DoLog(LogEntry).)
Equals
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.)
GetDefaultFilter
Create a new filter instance to use for this Logger. Use the DefaultFilterClass property. Subclasses may wish to override.
(Inherited from Logger.)
GetDefaultFormatter
Create a new formatter instance to use for this Logger. Use the DefaultFormatterClass property. Subclasses may wish to override.
(Inherited from Logger.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
LogOverloaded.
LogCriticalOverloaded.
LogDebugOverloaded.
LogErrorOverloaded.
LogFatalOverloaded.
LogInfoOverloaded.
LogStatusOverloaded.
LogWarningOverloaded.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnLoggingError
A convenience method called by Logger instances
(Inherited from Logger.)
RemoveLogger
Remove a Logger
ShouldLog
Determine if aLogEntry should be logged
(Inherited from Logger.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
WriteToLog
Write a String to the log. Subclasses can override this to actually write to the log.
(Inherited from Logger.)

Fields

  NameDescription
_application
A String representing the application.
(Inherited from Logger.)
_enabled
A bool indicating if this Logger is enabled or not.
(Inherited from Logger.)
_filter
The filter through which all LogEntries must pass before being logged.
(Inherited from Logger.)
_formatter
A formatter that formats LogEntries before being logged.
(Inherited from Logger.)
_loggers
The Collection of Loggers.

Properties

  NameDescription
Application
Gets and sets the Application.
(Inherited from Logger.)
Enabled
Gets and sets the Enabled flag.
(Inherited from Logger.)
Filter
Gets and sets the Filter.
(Inherited from Logger.)
Formatter
Gets and sets the Formatter.
(Inherited from Logger.)
Item
Gets the Logger with the name corresponding to the given String.
Loggers
Gets and sets the Collection of Loggers.
SeverityThreshold
Gets and sets the severity threshold of the filter--the lowest severity which will be logged.
(Inherited from Logger.)

See Also