Including this module equips your object with class- and instance-level references to a logger that uses intelligent defaults. If no logger is present, we look for the Rails default logger (Rails.logger). If all else fails, the code instantiates a new logger pointed at STDOUT.
Required Ruby Version
None
Authors
Mike Subelsky
Versions
- 0.1.0 January 02, 2010 (5.5 KB)