method

tag

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: TaggedLoggerProxy
tag(logger) 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 19
      def tag(logger)
        if logger.respond_to?(:tagged)
          current_tags = tags - logger.formatter.current_tags
          logger.tagged(*current_tags) { yield }
        else
          yield
        end
      end
Register or log in to add new notes.