def map=( levels )
      map = []
      levels.keys.each do |lvl|
        num = ::Logsly::Logging182.level_num(lvl)
        map[num] = growl_level_num(levels[lvl])
      end
      @map = map
    end
def map=( levels )
      map = []
      levels.keys.each do |lvl|
        num = ::Logsly::Logging182.level_num(lvl)
        map[num] = growl_level_num(levels[lvl])
      end
      @map = map
    end
:startdoc:
 call-seq:
    Growl.new( name, opts = {} )

 Create an appender that will log messages to the Growl framework on a
 Mac OS X machine.

 call-seq:
    map = { logging_levels => growl_levels }

 Configure the mapping from the Logsly::Logging182 levels to the Growl
 notification levels. This is needed in order to log events at the
 proper Growl level.

 Without any configuration, the following mapping will be used:

    :debug  =>  -2
    :info   =>  -1
    :warn   =>  0
    :error  =>  1
    :fatal  =>  2