Sha256: 04100b9c3a62d4d5c0d37e9646d9277c4a00351755766009eb8a0900c98acd69
Contents?: true
Size: 498 Bytes
Versions: 13
Compression:
Stored size: 498 Bytes
Contents
$:.unshift(File.dirname(__FILE__) + '/../lib') require 'sprinkle' class Object def logger # ActiveSupport::BufferedLogger was deprecated and replaced by ActiveSupport::Logger in Rails 4. # Use ActiveSupport::Logger if available. active_support_logger = defined?(ActiveSupport::Logger) ? ActiveSupport::Logger : ActiveSupport::BufferedLogger @@__log_file__ ||= StringIO.new @@__log__ = active_support_logger.new @@__log_file__, active_support_logger::Severity::INFO end end
Version data entries
13 entries across 13 versions & 1 rubygems