Class Logging::Appenders::Growl
In: lib/logging/appenders/growl.rb
Parent: ::Logging::Appender

This class provides an Appender that can send notifications to the Growl notification system on Mac OS X.

growlnotify must be installed somewhere in the path in order for the appender to function properly.

Methods

map=   new  

Public Class methods

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

Public Instance methods

Configure the mapping from the Logging 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

[Validate]