Sha256: 2c115e2cd8afd5f56fe1610a64efc3e83a7cddaad219b61de20d4caa8195be74

Contents?: true

Size: 244 Bytes

Versions: 7

Compression:

Stored size: 244 Bytes

Contents

require "resque/log_formatters/verbose_formatter"

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
resque-integration-3.8.2 lib/resque/integration/monkey_patch/verbose_formatter.rb
resque-integration-3.8.1 lib/resque/integration/monkey_patch/verbose_formatter.rb
resque-integration-3.8.0 lib/resque/integration/monkey_patch/verbose_formatter.rb
resque-integration-3.7.1 lib/resque/integration/monkey_patch/verbose_formatter.rb
resque-integration-3.5.1 lib/resque/integration/monkey_patch/verbose_formatter.rb
resque-integration-3.5.0 lib/resque/integration/monkey_patch/verbose_formatter.rb
resque-integration-3.4.1 lib/resque/integration/monkey_patch/verbose_formatter.rb