Module: Bicho::Logging

Included in:
CLI::Command, Client
Defined in:
lib/bicho/logging.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.loggerObject



35
36
37
# File 'lib/bicho/logging.rb', line 35

def self.logger
  @logger ||= Logger.new('/dev/null')
end

.logger=(logger) ⇒ Object



31
32
33
# File 'lib/bicho/logging.rb', line 31

def self.logger=(logger)
  @logger = logger
end

Instance Method Details

#loggerObject



39
40
41
# File 'lib/bicho/logging.rb', line 39

def logger
  Logging.logger
end