Sha256: 28e2c08c4b6fee806eec8010e144fd4867bf308a63bde50cf87ac6830079906c

Contents?: true

Size: 322 Bytes

Versions: 34

Compression:

Stored size: 322 Bytes

Contents

require 'sidekiq'

module Sidekiq
  module Logging

    class Pretty < Logger::Formatter
      def call(severity, time, progname, msg)
        msg = "(TID-#{Thread.current.object_id.to_s(36)}#{context}) #{msg}"
        Smartkiosk::Common::Logging.format "Sidekiq", severity, time, progname, msg
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
smartkiosk-client-0.2.1 lib/patches/sidekiq.rb
smartkiosk-client-0.2 lib/patches/sidekiq.rb
smartkiosk-client-0.1.19 lib/patches/sidekiq.rb
smartkiosk-client-0.1.18 lib/patches/sidekiq.rb
smartkiosk-client-0.1.17 lib/patches/sidekiq.rb
smartkiosk-client-0.1.16 lib/patches/sidekiq.rb
smartkiosk-client-0.1.15 lib/patches/sidekiq.rb
smartkiosk-client-0.1.14 lib/patches/sidekiq.rb
smartkiosk-client-0.1.13 lib/patches/sidekiq.rb
smartkiosk-client-0.1.12 lib/patches/sidekiq.rb
smartkiosk-client-0.1.11 lib/patches/sidekiq.rb
smartkiosk-client-0.1.10 lib/patches/sidekiq.rb
smartkiosk-client-0.1.9 lib/patches/sidekiq.rb
smartkiosk-client-0.1.8 lib/patches/sidekiq.rb
smartkiosk-client-0.1.7 lib/patches/sidekiq.rb
smartkiosk-client-0.1.6 lib/patches/sidekiq.rb
smartkiosk-client-0.1.5 lib/patches/sidekiq.rb
smartkiosk-client-0.1.4 lib/patches/sidekiq.rb
smartkiosk-client-0.1.3 lib/patches/sidekiq.rb
smartkiosk-client-0.1.2 lib/patches/sidekiq.rb