method

logger_outputs_to?

Importance_1
v5.0.0.1 - Show latest stable - 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.