Class: Restfulie::Common::Logger

Inherits:
Object
  • Object
show all
Defined in:
lib/restfulie/common/logger.rb

Constant Summary

@@logger =
ActiveSupport::BufferedLogger.new(STDOUT)

Class Method Summary collapse

Class Method Details

.loggerObject

Configure the logger used by Restfulie

The logger defaults to ActiveSupport::BufferedLogger.new(STDOUT)



7
8
9
# File 'lib/restfulie/common/logger.rb', line 7

def self.logger
  @@logger
end

.logger=(value) ⇒ Object



11
12
13
# File 'lib/restfulie/common/logger.rb', line 11

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