instance method
error?
Ruby on Rails edge
Since edgeSignature
error?()
Returns true if the log level allows entries with severity Logger::ERROR to be written, false otherwise.
Source
# File activesupport/lib/active_support/proxy_logger.rb, line 120
def error?; level <= ERROR; end
Defined in activesupport/lib/active_support/proxy_logger.rb line 120
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::ProxyLogger