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

+ (Object) logger



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

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

+ (Object) logger=(logger)



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

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

Instance Method Details

- (Object) logger



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

def logger
  Logging.logger
end