Sha256: 23a2ad924e2b61eb5d37e22b697f2bffb400f9b4ac9536b6311ff89a59f74af8

Contents?: true

Size: 267 Bytes

Versions: 10

Compression:

Stored size: 267 Bytes

Contents

require "action_cable/connection/tagged_logger_proxy"

module ActionCable
  module Connection
    class TaggedLoggerProxy
      def tag(logger, &block)
        current_tags = tags - logger.tags
        logger.tagged(*current_tags, &block)
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rails_semantic_logger-4.17.0 lib/rails_semantic_logger/extensions/action_cable/tagged_logger_proxy.rb
rails_semantic_logger-4.16.0 lib/rails_semantic_logger/extensions/action_cable/tagged_logger_proxy.rb
rails_semantic_logger-4.15.0 lib/rails_semantic_logger/extensions/action_cable/tagged_logger_proxy.rb
rails_semantic_logger-4.14.0 lib/rails_semantic_logger/extensions/action_cable/tagged_logger_proxy.rb
rails_semantic_logger-4.13.0 lib/rails_semantic_logger/extensions/action_cable/tagged_logger_proxy.rb
rails_semantic_logger-4.12.0 lib/rails_semantic_logger/extensions/action_cable/tagged_logger_proxy.rb
rails_semantic_logger-4.11.0 lib/rails_semantic_logger/extensions/action_cable/tagged_logger_proxy.rb
rails_semantic_logger-4.10.0 lib/rails_semantic_logger/extensions/action_cable/tagged_logger_proxy.rb
rails_semantic_logger-4.9.0 lib/rails_semantic_logger/extensions/action_cable/tagged_logger_proxy.rb
rails_semantic_logger-4.6.2 lib/rails_semantic_logger/extensions/action_cable/tagged_logger_proxy.rb