Module: Gearman::Logging

Included in:
Client, Connection, ConnectionPool, TaskSet, Worker
Defined in:
lib/gearman/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/gearman/logging.rb', line 4

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

Instance Method Details

#loggerObject


8
9
10
# File 'lib/gearman/logging.rb', line 8

def logger
  self.class.logger
end