class method
self.subscribe_log_level
Ruby on Rails 8.1.2
Since v7.1.6 PrivateSignature
self.subscribe_log_level(method, level)
No documentation comment.
Parameters
-
methodreq -
levelreq
Source
# File activesupport/lib/active_support/log_subscriber.rb, line 127
def subscribe_log_level(method, level)
self.log_levels = log_levels.merge(method => LEVEL_CHECKS.fetch(level))
set_event_levels
end
Defined in activesupport/lib/active_support/log_subscriber.rb line 127
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::LogSubscriber