Module: Oboe::Config
- Extended by:
- TraceView::ThreadLocal
- Defined in:
- lib/oboe/backward_compatibility.rb
Overview
Support for Oboe::Config calls
Class Method Summary collapse
Methods included from TraceView::ThreadLocal
Class Method Details
.method_missing(sym, *args) ⇒ Object
35 36 37 38 39 40 41 42 43 44 |
# File 'lib/oboe/backward_compatibility.rb', line 35 def self.method_missing(sym, *args) # Notify of deprecation only once unless @deprecated_notified TraceView.logger.warn "[traceview/warn] Note that Oboe::Config has been renamed to TraceView::Config. (#{sym}:#{args})" TraceView.logger.warn "[traceview/warn] Oboe::Config will be deprecated in a future version." TraceView.logger.warn "[traceview/warn] Caller: #{Kernel.caller[0]}" @deprecated_notified = true end TraceView::Config.send(sym, *args) end |