instance method
log_level_satisfied?
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
log_level_satisfied?(event_method)
No documentation comment.
Parameters
-
event_methodreq
Source
# File activesupport/lib/active_support/event_reporter/log_subscriber.rb, line 56
def log_level_satisfied?(event_method)
event_log_level = log_levels[event_method]
return false unless LOG_LEVELS.include?(event_log_level)
logger.public_send("#{event_log_level}?")
end
Defined in activesupport/lib/active_support/event_reporter/log_subscriber.rb line 56
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::EventReporter::LogSubscriber