Sha256: 749154f584a5c84918eb35d9959bc7c269da4bca762692221e15a7818ba95860
Contents?: true
Size: 223 Bytes
Versions: 4
Compression:
Stored size: 223 Bytes
Contents
class Woodhouse::Middleware::AssignLogger < Woodhouse::Middleware def call(job, worker) if @config.logger and worker.respond_to?(:logger) worker.logger = @config.logger end yield job, worker end end
Version data entries
4 entries across 4 versions & 1 rubygems