Class MCollective::Logger::Base
In: lib/mcollective/logger/base.rb
Parent: Object

A base class for logging providers.

Logging providers should provide the following:

   * start - all you need to do to setup your logging
   * set_logging_level - set your logging to :info, :warn, etc
   * valid_levels - a hash of maps from :info to your internal level name
   * log - what needs to be done to log a specific message

Methods

cycle_level   log   new   reopen   set_level   start  

Attributes

active_level  [R] 

Public Class methods

Public Instance methods

Figures out the next level and sets it

Sets a new level and record it in @active_level

[Validate]