instance method
tag
Ruby on Rails edge
Since edgeSignature
tag(logger, &block)
No documentation comment.
Parameters
-
loggerreq -
blockblock
Source
# File actioncable/lib/action_cable/server/tagged_logger_proxy.rb, line 25
def tag(logger, &block)
if logger.respond_to?(:tagged)
current_tags = tags - logger.formatter.current_tags
logger.tagged(*current_tags, &block)
else
yield
end
end
Defined in actioncable/lib/action_cable/server/tagged_logger_proxy.rb line 25
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Server::TaggedLoggerProxy