Sha256: e64382777f7e44cea0fece05d279cea9ace3917b6b9b9ed737698cd0d50a56d5

Contents?: true

Size: 468 Bytes

Versions: 2

Compression:

Stored size: 468 Bytes

Contents

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

module Datadog
  module Contrib
    module SemanticLogger
      module Configuration
        # Custom settings for the SemanticLogger 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/semantic_logger/configuration/settings.rb
ddtrace-0.51.0 lib/ddtrace/contrib/semantic_logger/configuration/settings.rb