lib/cached_resource/configuration.rb in cached_resource-2.3.2 vs lib/cached_resource/configuration.rb in cached_resource-2.3.3
- old
+ new
@@ -8,10 +8,10 @@
# default or fallback cache without rails
CACHE = ActiveSupport::Cache::MemoryStore.new
# default of fallback logger without rails
- LOGGER = ActiveSupport::BufferedLogger.new(NilIO.new)
+ LOGGER = ActiveSupport::BufferedLogger.new(NilIO.instance)
# prefix for log messages
LOGGER_PREFIX = "[cached_resource]"
# Initialize a Configuration with the given options, overriding any
\ No newline at end of file