Module: Zookeeper::Logger

Included in:
CZookeeper, ClientMethods, Common::QueueWithPipe, Continuation, ZookeeperBase
Defined in:
lib/zookeeper/logger.rb

Class Method Summary collapse

Class Method Details

.const_missing(sym) ⇒ Object



7
8
9
10
# File 'lib/zookeeper/logger.rb', line 7

def self.const_missing(sym)
  return ::Logger.const_get(sym) if ::Logger.const_defined?(sym)
  super
end

.included(mod) ⇒ Object



3
4
5
# File 'lib/zookeeper/logger.rb', line 3

def self.included(mod)
  mod.extend(self)
end

.new(*a, &b) ⇒ Object



12
13
14
# File 'lib/zookeeper/logger.rb', line 12

def self.new(*a, &b)
  ::Logger.new(*a, &b)
end