Sha256: b1b342e503c191f324a94763b36e93ecc83c4842b15848a533804c9caefe7c65

Contents?: true

Size: 177 Bytes

Versions: 2

Compression:

Stored size: 177 Bytes

Contents

require 'logger'

module Fourchette::Logger
  def logger
    unless @logger
      @logger = Logger.new(STDOUT)
      @logger.level = Logger::INFO
    end

    @logger
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fourchette-0.1.4 lib/fourchette/logger.rb
fourchette-0.1.3 lib/fourchette/logger.rb