Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Superclass: Object

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v4.0.2) is shown here.

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 =

You can then specify the datetime format, for example:

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

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

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