Sha256: f875ccf7239b99b8eceecfb332914c93f59fee3e318c60712d520c110d67cd78

Contents?: true

Size: 457 Bytes

Versions: 30

Compression:

Stored size: 457 Bytes

Contents

require 'active_support/deprecation'
require 'active_support/logger'

module ActiveSupport
  class BufferedLogger < Logger

    def initialize(*args)
      self.class._deprecation_warning
      super
    end

    def self.inherited(*)
      _deprecation_warning
      super
    end

    def self._deprecation_warning
      ::ActiveSupport::Deprecation.warn 'ActiveSupport::BufferedLogger is deprecated! Use ActiveSupport::Logger instead.'
    end
  end
end

Version data entries

30 entries across 30 versions & 2 rubygems

Version Path
activesupport-4.0.13 lib/active_support/buffered_logger.rb
activesupport-4.0.13.rc1 lib/active_support/buffered_logger.rb
activesupport-4.0.11.1 lib/active_support/buffered_logger.rb
activesupport-4.0.12 lib/active_support/buffered_logger.rb
activesupport-4.0.11 lib/active_support/buffered_logger.rb
activesupport-4.0.10 lib/active_support/buffered_logger.rb
activesupport-4.0.10.rc2 lib/active_support/buffered_logger.rb
activesupport-4.0.10.rc1 lib/active_support/buffered_logger.rb
activesupport-4.0.9 lib/active_support/buffered_logger.rb
activesupport-4.0.8 lib/active_support/buffered_logger.rb
activesupport-4.0.7 lib/active_support/buffered_logger.rb
activesupport-4.0.6 lib/active_support/buffered_logger.rb
activesupport-4.0.6.rc3 lib/active_support/buffered_logger.rb
activesupport-4.0.6.rc2 lib/active_support/buffered_logger.rb
activesupport-4.0.6.rc1 lib/active_support/buffered_logger.rb
activesupport-4.0.5 lib/active_support/buffered_logger.rb
activesupport-4.0.4 lib/active_support/buffered_logger.rb
activesupport-4.0.4.rc1 lib/active_support/buffered_logger.rb
activesupport-4.0.3 lib/active_support/buffered_logger.rb
activesupport-4.0.2 lib/active_support/buffered_logger.rb