Sha256: ff079b36ad8ec85c192c05196ffe2be1ac850560dff86ec9c4faf972221b7fc5

Contents?: true

Size: 222 Bytes

Versions: 5

Compression:

Stored size: 222 Bytes

Contents

# encoding: utf-8

require 'logger'

module TypoLogging
  def logger
    TypoLogging.logger
  end

  # Global, memoized, lazy initialized instance of a logger
  def self.logger
    @logger ||= Logger.new(STDOUT)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
qipowl-0.9.7 lib/qipowl/utils/logging.rb
qipowl-0.9.3 lib/qipowl/utils/logging.rb
qipowl-0.9.2 lib/qipowl/utils/logging.rb
qipowl-0.9.1 lib/qipowl/utils/logging.rb
qipowl-0.9.0 lib/qipowl/utils/logging.rb