Flowdock
class
Importance_1
v3.0.9 - Show latest stable - 0 notes - Superclass: Object

Adds the ‘around_level’ method to Logger.


Extensions to the built-in Ruby logger.

If you want to use the default log formatter as defined in the Ruby core, then you will need to set the formatter for the logger as in:

logger.formatter = Formatter.new

You can then specify the datetime format, for example:

logger.datetime_format = "%Y-%m-%d"

Note: This logger is deprecated in favor of ActiveSupport::BufferedLogger

Show files where this class is defined (1 file)
Register or log in to add new notes.