module Hashie

Copyright © Chad Fowler, Rich Kilmer, Jim Weirich and others. Portions copyright © Engine Yard and Andre Arko

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Constants

VERSION

Public Class Methods

logger() click to toggle source

The logger that Hashie uses for reporting errors.

@return [Logger]

# File lib/hashie/logger.rb, line 7
def self.logger
  @logger ||= Logger.new(STDOUT)
end
logger=(logger) click to toggle source

Sets the logger that Hashie uses for reporting errors.

@param logger [Logger] The logger to set as Hashie's logger. @return [void]

# File lib/hashie/logger.rb, line 15
def self.logger=(logger)
  @logger = logger
end