Sha256: f3af0ed2c9daaf013fe73f59093c866bcb6ef9053024314d7f7bef8c573b99fa

Contents?: true

Size: 309 Bytes

Versions: 15

Compression:

Stored size: 309 Bytes

Contents

module Hobo
  class << self
    attr_accessor :logger
  end

  module Logging
    def logger
      Hobo::Logging.logger
    end

    def self.logger
      unless Hobo.logger
        Hobo.logger = Logger.new(STDOUT)
        Hobo.logger.level = Logger::WARN
      end

      return Hobo.logger
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hobo-inviqa-0.0.15 lib/hobo/logging.rb
hobo-inviqa-0.0.14 lib/hobo/logging.rb
hobo-inviqa-0.0.13 lib/hobo/logging.rb
hobo-inviqa-0.0.11 lib/hobo/logging.rb
hobo-inviqa-0.0.10 lib/hobo/logging.rb
hobo-inviqa-0.0.10.pre.rc11 lib/hobo/logging.rb
hobo-inviqa-0.0.10.pre.rc10 lib/hobo/logging.rb
hobo-inviqa-0.0.10.pre.rc9 lib/hobo/logging.rb
hobo-inviqa-0.0.10.pre.rc8 lib/hobo/logging.rb
hobo-inviqa-0.0.10.pre.rc7 lib/hobo/logging.rb
hobo-inviqa-0.0.10.pre.rc6 lib/hobo/logging.rb
hobo-inviqa-0.0.10.pre.rc4 lib/hobo/logging.rb
hobo-inviqa-0.0.10.pre.rc2 lib/hobo/logging.rb
hobo-inviqa-0.0.9 lib/hobo/logging.rb
hobo-inviqa-0.0.9.pre.rc2 lib/hobo/logging.rb