module Oboe::Config

Support for Oboe::Config calls

Public Class Methods

method_missing(sym, *args) click to toggle source
# File lib/oboe/backward_compatibility.rb, line 37
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