Sha256: caa5417e47b9659b6c48616f3845c511fe87bff5f996ddabc4223f91858b7f5d

Contents?: true

Size: 304 Bytes

Versions: 37

Compression:

Stored size: 304 Bytes

Contents

require 'time'
module Sneakers
  module Support
    class ProductionFormatter < Logger::Formatter
        def self.call(severity, time, program_name, message)
          "#{time.utc.iso8601} p-#{Process.pid} t-#{Thread.current.object_id.to_s(36)} #{severity}: #{message}\n"
        end
    end
  end
end

Version data entries

37 entries across 37 versions & 3 rubygems

Version Path
kicks-3.2.0 lib/sneakers/support/production_formatter.rb
kicks-3.1.1 lib/sneakers/support/production_formatter.rb
kicks-3.1.0 lib/sneakers/support/production_formatter.rb
kicks-3.0.0 lib/sneakers/support/production_formatter.rb
kicks-3.0.0.pre lib/sneakers/support/production_formatter.rb
sneakers-2.12.0 lib/sneakers/support/production_formatter.rb
sneakers-2.12.0.rc1 lib/sneakers/support/production_formatter.rb
sneakers-2.11.0 lib/sneakers/support/production_formatter.rb
sneakers-2.7.0 lib/sneakers/support/production_formatter.rb
sneakers-2.6.0 lib/sneakers/support/production_formatter.rb
sneakers-2.5.0 lib/sneakers/support/production_formatter.rb
sneakers-2.4.0 lib/sneakers/support/production_formatter.rb
sneakers-2.3.5 lib/sneakers/support/production_formatter.rb
sneakers-2.3.4 lib/sneakers/support/production_formatter.rb
sneakers-2.3.2 lib/sneakers/support/production_formatter.rb
sneakers-2.3.1 lib/sneakers/support/production_formatter.rb
sneakers-2.3.0 lib/sneakers/support/production_formatter.rb
sneakers-2.2.1 lib/sneakers/support/production_formatter.rb
sneakers-2.2.0 lib/sneakers/support/production_formatter.rb
sneakers-2.1.0 lib/sneakers/support/production_formatter.rb