Sha256: 097937232cbc3303ceaf0daf9fa56e028ed843dc7ec9f070feaff4ab7f20cbc0

Contents?: true

Size: 411 Bytes

Versions: 13

Compression:

Stored size: 411 Bytes

Contents

module Restfulie
  module Common
    class Logger
      # Configure the logger used by Restfulie
      # 
      # The logger defaults to ActiveSupport::BufferedLogger.new(STDOUT)
      def self.logger
        @@logger
      end

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

      @@logger = ActiveSupport::BufferedLogger.new(STDOUT)
      @@logger.level = ::Logger::DEBUG
    end
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
restfulie-nosqlite-1.0.4 lib/restfulie/common/logger.rb
restfulie-1.1.1 lib/restfulie/common/logger.rb
restfulie-1.1.0 lib/restfulie/common/logger.rb
restfulie-nosqlite-1.0.3 lib/restfulie/common/logger.rb
restfulie-1.0.3 lib/restfulie/common/logger.rb
restfulie-1.0.0 lib/restfulie/common/logger.rb
restfulie-1.0.0.beta5 lib/restfulie/common/logger.rb
restfulie-1.0.0.beta4 lib/restfulie/common/logger.rb
restfulie-1.0.0.beta1 lib/restfulie/common/logger.rb
restfulie-0.1.0.beta1 lib/restfulie/common/logger.rb
restfulie-0.9.3 lib/restfulie/common/logger.rb
restfulie-0.9.1 lib/restfulie/common/logger.rb
restfulie-0.8.1 lib/restfulie/common/logger.rb