Sha256: c52fc44d4fafc583b1096b60a142b3f12e4e5975e9df9277046236fac4851da1
Contents?: true
Size: 844 Bytes
Versions: 5
Compression:
Stored size: 844 Bytes
Contents
module OboeHeroku module Loading def self.initialize # OBOE_TRACE_NEVER 0 # OBOE_TRACE_ALWAYS 1 # OBOE_TRACE_THROUGH 2 if defined?(Oboe::Config) case Oboe::Config[:tracing_mode].to_s.downcase.to_sym when :never # OBOE_TRACE_NEVER Oboe::Context.setTracingMode(0) when :always # OBOE_TRACE_ALWAYS Oboe::Context.setTracingMode(1) else # OBOE_TRACE_ALWAYS Oboe::Context.setTracingMode(1) # We support 'never' or 'always' on Heroku. If :tracing_mode is # neither of these, default to always Oboe::Config[:tracing_mode] = 'always' end else # OBOE_TRACE_ALWAYS Oboe::Context.setTracingMode(1) end end # self.initialize_heroku end end
Version data entries
5 entries across 5 versions & 1 rubygems