Class: SDB::Logger

Inherits:
Logger
  • Object
show all
Defined in:
lib/capistrano/sdb.rb

Constant Summary collapse

LEVEL_MAPPING =
{
  :debug => :trace,
  :info => :debug,
  :warn =>:info,
  :error =>:important,
  :fatal => :important
}

Instance Method Summary collapse

Constructor Details

#initialize(caplogger) ⇒ Logger

Returns a new instance of Logger.



21
22
23
# File 'lib/capistrano/sdb.rb', line 21

def initialize( caplogger )
  @caplogger = caplogger
end