Module: Metrics::Logging

Included in:
Agent, Integration::WEBrick, Reporter
Defined in:
lib/ruby-metrics/logging.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(target) ⇒ Object



4
5
6
# File 'lib/ruby-metrics/logging.rb', line 4

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

Instance Method Details

#loggerObject



8
9
10
# File 'lib/ruby-metrics/logging.rb', line 8

def logger
  self.class.logger
end