search for: default_logg

Displaying 1 result from an estimated 1 matches for "default_logg".

Did you mean: default_log
2008 Apr 04
0
[ANN} log_buddy 0.0.2 released
...e, helping you dev, debug, and test. ## SYNOPSIS: Call LogBuddy.init to use log_buddy. It will add two methods to object instance and class level: "d" and "logger". You can use your own logger with Logbuddy by passing it into init''s options hash: LogBuddy.init :default_logger => Logger.new(''my_log.log'') Now you have your logger available from any object, at the instance level and class level: obj = Object.new obj.logger.debug("hi") class MyClass; end MyClass.logger.info("heya") You also have a method called &...