Sha256: 94e80197239d0b8e31b6d248a97bb43d641bfadba953acc689e0cb49c50a03cb

Contents?: true

Size: 556 Bytes

Versions: 15

Compression:

Stored size: 556 Bytes

Contents

require 'logger'
require 'roqua/support/instrumentation'
require 'roqua/support/log_wrapper'
require 'roqua/support/errors'
require 'roqua/support/stats'

module Roqua
  class << self
    def appname
      @appname
    end

    def appname=(name)
      @appname = name
    end

    def logger
      @logger ||= LogWrapper.new(Logger.new(STDOUT))
    end

    def logger=(logger)
      @logger = LogWrapper.new(logger)
    end

    def stats
      @stats ||= ::Roqua::Support::Stats.new
    end

    def stats=(stats)
      @stats = stats
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
roqua-support-0.1.32 lib/roqua/support.rb
roqua-support-0.1.31 lib/roqua/support.rb
roqua-support-0.1.30 lib/roqua/support.rb
roqua-support-0.1.29 lib/roqua/support.rb
roqua-support-0.1.28 lib/roqua/support.rb
roqua-support-0.1.27 lib/roqua/support.rb
roqua-support-0.1.26 lib/roqua/support.rb
roqua-support-0.1.25 lib/roqua/support.rb
roqua-support-0.1.24 lib/roqua/support.rb
roqua-support-0.1.23 lib/roqua/support.rb
roqua-support-0.1.22 lib/roqua/support.rb
roqua-support-0.1.21 lib/roqua/support.rb
roqua-support-0.1.20 lib/roqua/support.rb
roqua-support-0.1.19 lib/roqua/support.rb
roqua-support-0.1.18 lib/roqua/support.rb