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 82
def log_level_satisfied?(event_method)
predicate = LOG_LEVEL_PREDICATES[log_levels[event_method]]
return false unless predicate
logger.public_send(predicate)
end
Defined in activesupport/lib/active_support/event_reporter/log_subscriber.rb line 82
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::EventReporter::LogSubscriber