Class: ActiveSupport::BufferedLogger
- Defined in:
- lib/active_support/buffered_logger.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(*args) ⇒ BufferedLogger
constructor
A new instance of BufferedLogger.
Methods inherited from Logger
Methods included from LoggerSilence
Methods included from Concern
#append_features, extended, #included
Methods inherited from Logger
#datetime_format, #datetime_format=, define_around_helper, #old_datetime_format, #old_datetime_format=, #old_initialize
Constructor Details
#initialize(*args) ⇒ BufferedLogger
Returns a new instance of BufferedLogger.
7 8 9 10 |
# File 'lib/active_support/buffered_logger.rb', line 7 def initialize(*args) self.class._deprecation_warning super end |
Class Method Details
._deprecation_warning ⇒ Object
17 18 19 |
# File 'lib/active_support/buffered_logger.rb', line 17 def self._deprecation_warning ::ActiveSupport::Deprecation.warn 'ActiveSupport::BufferedLogger is deprecated! Use ActiveSupport::Logger instead.' end |
.inherited ⇒ Object
12 13 14 15 |
# File 'lib/active_support/buffered_logger.rb', line 12 def self.inherited(*) _deprecation_warning super end |