method

tag

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: TaggedLoggerProxy
tag(logger, &block) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actioncable/lib/action_cable/connection/tagged_logger_proxy.rb, line 23
      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
Register or log in to add new notes.