Class: ActiveSupport::BufferedLogger
- Inherits:
-
Object
- Object
- ActiveSupport::BufferedLogger
- Includes:
- CustomLogger::InstanceMethods
- Defined in:
- lib/active_support/custom_logger.rb
Instance Method Summary collapse
Methods included from CustomLogger::InstanceMethods
Instance Method Details
#add_with_formatted_timestamp(severity, message = nil, progname = nil, &block) ⇒ Object
20 21 22 |
# File 'lib/active_support/custom_logger.rb', line 20 def (severity, = nil, progname = nil, &block) (severity, "#{formatted_timestamp} #{message}", progname, &block) end |