Class: Anycable::Rails::LoggerProxy
- Inherits:
-
Object
- Object
- Anycable::Rails::LoggerProxy
- Defined in:
- lib/anycable/rails.rb
Overview
Use this proxy to quack like a TaggedLoggerProxy
Instance Method Summary collapse
- #add_tags(*_tags) ⇒ Object
-
#initialize(logger) ⇒ LoggerProxy
constructor
A new instance of LoggerProxy.
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 (*) @logger.warn "Tagged logger is not supported by AnyCable. Skip" end |