Sha256: 6b90a1059fc3a538823173f58477419ac3a0a9f40f298ccb19433ba6a01168ba

Contents?: true

Size: 178 Bytes

Versions: 6

Compression:

Stored size: 178 Bytes

Contents

require 'logger'

module Wyrm
  module Logger
    def logger
      @logger ||= ::Logger.new( STDERR ).tap do |lgr|
        lgr.level = ::Logger::INFO
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wyrm-0.4.1 lib/wyrm/logger.rb
wyrm-0.4.0 lib/wyrm/logger.rb
wyrm-0.3.3 lib/wyrm/logger.rb
wyrm-0.3.2 lib/wyrm/logger.rb
wyrm-0.3.1 lib/wyrm/logger.rb
wyrm-0.3.0 lib/wyrm/logger.rb