Sha256: 144d413e1e962e619207e6d25a63b1699b8c0817e9ddc0e14d1020f3bd07c308

Contents?: true

Size: 262 Bytes

Versions: 9

Compression:

Stored size: 262 Bytes

Contents

module Metrics
  module Logging
    
    def self.included(target)
      target.extend ClassMethods
    end
    
    def logger
      self.class.logger
    end
    
    module ClassMethods
      def logger
        Metrics.logger
      end
    end
    
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
ruby-metrics-0.9.4 lib/ruby-metrics/logging.rb
ruby-metrics-0.9.3 lib/ruby-metrics/logging.rb
ruby-metrics-0.9.2 lib/ruby-metrics/logging.rb
ruby-metrics-0.9.1 lib/ruby-metrics/logging.rb
ruby-metrics-0.9.0 lib/ruby-metrics/logging.rb
yam-ruby-metrics-0.8.9 lib/ruby-metrics/logging.rb
yam-ruby-metrics-0.8.8 lib/ruby-metrics/logging.rb
yam-ruby-metrics-0.8.7 lib/ruby-metrics/logging.rb
yam-ruby-metrics-0.8.6 lib/ruby-metrics/logging.rb