Class: ActiveSupport::BufferedLogger

Inherits:
Object
  • Object
show all
Includes:
CustomLogger::InstanceMethods
Defined in:
lib/active_support/custom_logger.rb

Instance Method Summary collapse

Methods included from CustomLogger::InstanceMethods

#formatted_timestamp

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 add_with_formatted_timestamp(severity, message = nil, progname = nil, &block)
  add_without_formatted_timestamp(severity, "#{formatted_timestamp} #{message}", progname, &block)
end