Sha256: b63c28a4e8101c8331d4fe03d73c4f27d14c05cb26ee09f4bf2d274ed588295b
Contents?: true
Size: 347 Bytes
Versions: 2
Compression:
Stored size: 347 Bytes
Contents
# frozen_string_literal: true require 'sidekiq/logging/shared' module Sidekiq module Middleware module Server # Class used to replace Sidekiq 4 job logger. class LogstashLogging include Sidekiq::Logging::Shared def call(_, job, _, &block) log_job(job, &block) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-logstash-1.2.1 | lib/sidekiq/middleware/server/logstash_logging.rb |
sidekiq-logstash-1.2.0 | lib/sidekiq/middleware/server/logstash_logging.rb |