Class: Anycable::Rails::LoggerProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/anycable/rails.rb

Overview

Use this proxy to quack like a TaggedLoggerProxy

Instance Method Summary collapse

Constructor Details

#initialize(logger) ⇒ LoggerProxy

Returns a new instance of LoggerProxy.



12
13
14
# File 'lib/anycable/rails.rb', line 12

def initialize(logger)
  @logger = logger
end

Instance Method Details

#add_tags(*_tags) ⇒ Object



16
17
18
# File 'lib/anycable/rails.rb', line 16

def add_tags(*_tags)
  @logger.warn "Tagged logger is not supported by AnyCable. Skip"
end