Module: Feta::Logging

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

Class Method Summary (collapse)

Instance Method Summary (collapse)

Class Method Details

+ (Object) logger



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

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

+ (Object) logger=(logger)



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

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

Instance Method Details

- (Object) logger



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

def logger
  Logging.logger
end