A CompositeLogger contains other Logger instances.

Namespace:  BitFactory.Logging
Assembly:  BitFactory.Logging (in BitFactory.Logging.dll) Version: 1.5.1.0 (1.5.1.0)

Syntax

C#
public class CompositeLogger : Logger

Remarks

When instances of this class log LogEntries, they simply pass on the LogEntries to the Loggers contained therein. Loggers are contained in a HashMap, with the keys being Strings. This provides a nice means to access a specific contained Logger, if necessary. Instances of this class are likely to be used as an application's main logger, within which more specific loggers can be contained.

Inheritance Hierarchy

System..::.Object
  BitFactory.Logging..::.Logger
    BitFactory.Logging..::.CompositeLogger
      BitFactory.Logging..::.ConfigLogger

See Also