instance method log_level_satisfied?

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

log_level_satisfied?(event_method)

No documentation comment.

Parameters

event_method req
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

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close