Class: Resque::VerboseFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/resque/integration/monkey_patch/verbose_formatter.rb

Instance Method Summary collapse

Instance Method Details

#call(serverity, datetime, progname, msg) ⇒ Object



5
6
7
8
# File 'lib/resque/integration/monkey_patch/verbose_formatter.rb', line 5

def call(serverity, datetime, progname, msg)
  time = Time.now.strftime('%H:%M:%S %Y-%m-%d')
  "** [#{time}] #$$: #{msg}\n"
end