Flowdock
method

logger_outputs_to?

Importance_1
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: Logger
logger_outputs_to?(logger, *sources) public

Returns true if the logger destination matches one of the sources

logger = Logger.new(STDOUT)
ActiveSupport::Logger.logger_outputs_to?(logger, STDOUT)
# => true
Show source
Register or log in to add new notes.