Required Files
Methods
Public Instance methods
debug(str)

Convienience methods. These allow for shorter lines of code. One nice feature is that you can add a method name to your classes to add special logging.

Examples of customized logging

class Article

  def debug(str)
    Logger.debug("Debuging from article: #{str}")
  end

end

class Object

  def debug(str)
    Logger.debug("#{self.class}: #{str}")
  end

end

     # File lib/glue/logger.rb, line 170
170: def debug(str)
171:   Logger.debug(str)
172: end
error(str)
     # File lib/glue/logger.rb, line 178
178: def error(str)
179:   Logger.error(str)
180: end
info(str)
     # File lib/glue/logger.rb, line 174
174: def info(str)
175:   Logger.info(str)
176: end