Sha256: 6bc431690e2133b1b5acb53876198c0f1462af669918f7f6a5387c1d044add65

Contents?: true

Size: 446 Bytes

Versions: 2

Compression:

Stored size: 446 Bytes

Contents

require 'ddtrace/contrib/configuration/settings'
require 'ddtrace/contrib/lograge/ext'

module Datadog
  module Contrib
    module Lograge
      module Configuration
        # Custom settings for the Lograge integration
        class Settings < Contrib::Configuration::Settings
          option :enabled do |o|
            o.default { env_to_bool(Ext::ENV_ENABLED, true) }
            o.lazy
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ddtrace-0.51.1 lib/ddtrace/contrib/lograge/configuration/settings.rb
ddtrace-0.51.0 lib/ddtrace/contrib/lograge/configuration/settings.rb