instance method
log_array
Ruby on Rails 7.0.10
Since v5.2.8.1 PrivateSignature
log_array(logger, lines)
No documentation comment.
Parameters
-
loggerreq -
linesreq
Source
# File actionpack/lib/action_dispatch/middleware/debug_exceptions.rb, line 152
def log_array(logger, lines)
return if lines.empty?
if logger.formatter && logger.formatter.respond_to?(:tags_text)
logger.fatal lines.join("\n#{logger.formatter.tags_text}")
else
logger.fatal lines.join("\n")
end
end
Defined in actionpack/lib/action_dispatch/middleware/debug_exceptions.rb line 152
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::DebugExceptions