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.1.1 lib/patches/sidekiq.rb
smartkiosk-client-0.1.0 lib/patches/sidekiq.rb
smartkiosk-client-0.0.28 lib/patches/sidekiq.rb
smartkiosk-client-0.0.26 lib/patches/sidekiq.rb
smartkiosk-client-0.0.25 lib/patches/sidekiq.rb
smartkiosk-client-0.0.24 lib/patches/sidekiq.rb
smartkiosk-client-0.0.23 lib/patches/sidekiq.rb
smartkiosk-client-0.0.22 lib/patches/sidekiq.rb
smartkiosk-client-0.0.21 lib/patches/sidekiq.rb
smartkiosk-client-0.0.20 lib/patches/sidekiq.rb
smartkiosk-client-0.0.19 lib/patches/sidekiq.rb
smartkiosk-client-0.0.18 lib/patches/sidekiq.rb
smartkiosk-client-0.0.17 lib/patches/sidekiq.rb
smartkiosk-client-0.0.16 lib/patches/sidekiq.rb