Sha256: a66492702a12e7b3982f10af56405f0bb9838648e9a6f41f08bd86b74df52d20

Contents?: true

Size: 220 Bytes

Versions: 7

Compression:

Stored size: 220 Bytes

Contents

require "logger"

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
socrates-0.1.25 lib/socrates/logger.rb
socrates-0.1.24 lib/socrates/logger.rb
socrates-0.1.23 lib/socrates/logger.rb
socrates-0.1.22 lib/socrates/logger.rb
socrates-0.1.21 lib/socrates/logger.rb
socrates-0.1.20 lib/socrates/logger.rb
socrates-0.1.19 lib/socrates/logger.rb