aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/logger.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/core_ext/logger.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/logger.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/logger.rb b/activesupport/lib/active_support/core_ext/logger.rb
index e63a0a9ed9..ca0f382966 100644
--- a/activesupport/lib/active_support/core_ext/logger.rb
+++ b/activesupport/lib/active_support/core_ext/logger.rb
@@ -1,4 +1,5 @@
require 'active_support/core_ext/class/attribute_accessors'
+require 'active_support/deprecation'
# Adds the 'around_level' method to Logger.
class Logger #:nodoc:
@@ -49,6 +50,7 @@ class Logger
yield self
end
end
+ deprecate :silence
alias :old_datetime_format= :datetime_format=
# Logging date-time format (string passed to +strftime+). Ignored if the formatter