Sha256: 67c85bc54192d76500c7843411bd009041327eab7fa8606cd0f48d9f79994df7

Contents?: true

Size: 219 Bytes

Versions: 18

Compression:

Stored size: 219 Bytes

Contents

require "logger"

module Socrates
  class Logger < ::Logger
    def self.default
      @logger ||= begin
        logger       = new(STDOUT)
        logger.level = Logger::WARN
        logger
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
socrates-0.1.18 lib/socrates/logger.rb
socrates-0.1.17 lib/socrates/logger.rb
socrates-0.1.16 lib/socrates/logger.rb
socrates-0.1.15 lib/socrates/logger.rb
socrates-0.1.14 lib/socrates/logger.rb
socrates-0.1.13 lib/socrates/logger.rb
socrates-0.1.12 lib/socrates/logger.rb
socrates-0.1.11 lib/socrates/logger.rb
socrates-0.1.10 lib/socrates/logger.rb
socrates-0.1.9 lib/socrates/logger.rb
socrates-0.1.8 lib/socrates/logger.rb
socrates-0.1.7 lib/socrates/logger.rb
socrates-0.1.6 lib/socrates/logger.rb
socrates-0.1.4 lib/socrates/logger.rb
socrates-0.1.3 lib/socrates/logger.rb
socrates-0.1.2 lib/socrates/logger.rb
socrates-0.1.1 lib/socrates/logger.rb
socrates-0.1.0 lib/socrates/logger.rb