Class Logging::RootLogger
In: lib/logging/root_logger.rb
Parent: Logger

The root logger exists to ensure that all loggers have a parent and a defined logging level. If a logger is additive, eventually its log events will propogate up to the root logger.

Methods

<=>   level=   new  

Attributes

level  [R] 

Public Class methods

Returns a new root logger instance. This method will be called only once when the Repository singleton instance is created.

Public Instance methods

Compares this logger by name to another logger. The normal return codes for String objects apply.

Set the level for the root logger. The functionality of this method is the same as +Logger#level=+, but setting the level to nil for the root logger is not allowed. The level is silently set to :all.

[Validate]