Sha256: 57dcb1d9e928e8e86f72a42eb1015609d6da2a05248dfd87f061915cfa7fbfa7

Contents?: true

Size: 336 Bytes

Versions: 14

Compression:

Stored size: 336 Bytes

Contents

module Midori
  class << self
    # Return current logger midori is using
    # @return [Logger] the current logger midori is using
    def logger
      @logger ||= ::Logger.new(STDOUT)
    end

    # Return midori's logger
    # @param [Logger] logger set midori logger
    def logger=(logger)
      @logger = logger
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
midori.rb-0.9.0 lib/midori/logger.rb
midori.rb-0.8.0 lib/midori/logger.rb
midori.rb-0.7.1 lib/midori/logger.rb
midori.rb-0.7.0 lib/midori/logger.rb
midori.rb-0.6.0 lib/midori/logger.rb
midori.rb-0.5.4 lib/midori/logger.rb
midori.rb-0.5.3.1 lib/midori/logger.rb
midori.rb-0.5.3 lib/midori/logger.rb
midori.rb-0.5.2 lib/midori/logger.rb
midori.rb-0.5.1 lib/midori/logger.rb
midori.rb-0.5.0 lib/midori/logger.rb
midori.rb-0.4.4.1 lib/midori/logger.rb
midori.rb-0.4.4 lib/midori/logger.rb
midori.rb-0.4.3 lib/midori/logger.rb