Sha256: f233dfe719ec9d919c63dfba84a91fdf0424cb713cf07190f806b472a8ab1367

Contents?: true

Size: 245 Bytes

Versions: 4

Compression:

Stored size: 245 Bytes

Contents

module Gearman
  module Logging

    def self.included(target)
      target.extend ClassMethods
    end

    def logger
      self.class.logger
    end

    module ClassMethods
      def logger
        Gearman.logger
      end
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gearman-ruby-4.0.5 lib/gearman/logging.rb
gearman-ruby-4.0.4 lib/gearman/logging.rb
gearman-ruby-4.0.3 lib/gearman/logging.rb
gearman-ruby-4.0.2 lib/gearman/logging.rb