Remove deprecated `ActiveSupport::LoggerThreadSafeLevel#after_initialize`
This commit is contained in:
parent
8d1ade40dd
commit
e84af03914
|
@ -1,3 +1,7 @@
|
|||
* Remove deprecated `ActiveSupport::LoggerThreadSafeLevel#after_initialize`.
|
||||
|
||||
*Rafael Mendonça França*
|
||||
|
||||
* Remove deprecated `LoggerSilence` constant.
|
||||
|
||||
*Rafael Mendonça França*
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue