Module: ZookeeperCommon::ClassMethods

Defined in:
lib/zookeeper/common.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) logger



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

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

- (Object) logger=(logger)



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

def logger=(logger)
  @logger = logger
end