Module: ZookeeperCommon::ClassMethods

Defined in:
lib/zookeeper/common.rb

Instance Method Summary collapse

Instance Method Details

#loggerObject



10
11
12
# File 'lib/zookeeper/common.rb', line 10

def logger
  @logger ||= Logger.new('/dev/null') # UNIX: YOU MUST USE IT!
end

#logger=(logger) ⇒ Object



14
15
16
# File 'lib/zookeeper/common.rb', line 14

def logger=(logger)
  @logger = logger
end