Sha256: 96d170356b4a5501a0610ce489d24764d577cb35e4b9d4e1b61df47cc0e3892a

Contents?: true

Size: 376 Bytes

Versions: 16

Compression:

Stored size: 376 Bytes

Contents

require 'logger'

module Hashie
  # The logger that Hashie uses for reporting errors.
  #
  # @return [Logger]
  def self.logger
    @logger ||= Logger.new(STDOUT)
  end

  # Sets the logger that Hashie uses for reporting errors.
  #
  # @param logger [Logger] The logger to set as Hashie's logger.
  # @return [void]
  def self.logger=(logger)
    @logger = logger
  end
end

Version data entries

16 entries across 15 versions & 4 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/hashie-5.0.0/lib/hashie/logger.rb
hashie-5.0.0 lib/hashie/logger.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/hashie-4.1.0/lib/hashie/logger.rb
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/hashie-3.6.0/lib/hashie/logger.rb
hashie-4.1.0 lib/hashie/logger.rb
hashie-4.0.0 lib/hashie/logger.rb
hashie-3.6.0 lib/hashie/logger.rb
tdiary-5.0.8 vendor/bundle/gems/hashie-3.5.7/lib/hashie/logger.rb
hashie-3.5.7 lib/hashie/logger.rb
hashie-3.5.6 lib/hashie/logger.rb
tdiary-5.0.5 vendor/bundle/gems/hashie-3.5.5/lib/hashie/logger.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/hashie-3.5.5/lib/hashie/logger.rb
tdiary-5.0.4 vendor/bundle/gems/hashie-3.5.5/lib/hashie/logger.rb
hashie-3.5.5 lib/hashie/logger.rb
hashie-3.5.4 lib/hashie/logger.rb
hashie-3.5.3 lib/hashie/logger.rb