Remove deprecated `ActiveSupport::LoggerThreadSafeLevel#after_initialize`

This commit is contained in:
Rafael Mendonça França 2020-10-28 21:41:16 +00:00
parent 8d1ade40dd
commit e84af03914
No known key found for this signature in database
GPG Key ID: FC23B6D0F1EEE948
3 changed files with 6 additions and 7 deletions

View File

@ -1,3 +1,7 @@
* Remove deprecated `ActiveSupport::LoggerThreadSafeLevel#after_initialize`.
*Rafael Mendonça França*
* Remove deprecated `LoggerSilence` constant.
*Rafael Mendonça França*

View File

@ -21,13 +21,6 @@ module ActiveSupport
EOT
end
def after_initialize
ActiveSupport::Deprecation.warn(
"Logger don't need to call #after_initialize directly anymore. It will be deprecated without replacement in " \
"Rails 6.1."
)
end
def local_log_id
Fiber.current.__id__
end

View File

@ -288,6 +288,8 @@ Please refer to the [Changelog][active-support] for detailed changes.
* Remove deprecated `LoggerSilence` constant.
* Remove deprecated `ActiveSupport::LoggerThreadSafeLevel#after_initialize`.
### Deprecations
### Notable changes