Class: ActiveSupport::BufferedLogger

Inherits:
Object
  • Object
show all
Defined in:
lib/airbrush/core_ext/timestamped_logger.rb

Instance Method Summary collapse

Instance Method Details

#add_with_timestamps(severity, message = nil, progname = nil, &block) ⇒ Object



4
5
6
# File 'lib/airbrush/core_ext/timestamped_logger.rb', line 4

def add_with_timestamps(severity, message = nil, progname = nil, &block)
  add_without_timestamps(severity, "#{Time.now}: #{message}", progname, &block)
end