Module: Feta::Logging

Included in:
Client
Defined in:
lib/feta/logging.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.loggerObject



34
35
36
# File 'lib/feta/logging.rb', line 34

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

.logger=(logger) ⇒ Object



30
31
32
# File 'lib/feta/logging.rb', line 30

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

Instance Method Details

#loggerObject



38
39
40
# File 'lib/feta/logging.rb', line 38

def logger
  Logging.logger
end