Sha256: ca65199885728de5202b6af1c5ffea3e0c7cf76ba6bf0cae10189ae392a74f67

Contents?: true

Size: 551 Bytes

Versions: 5

Compression:

Stored size: 551 Bytes

Contents

# frozen_string_literal: true

require_relative '../../configuration/settings'
require_relative '../ext'

module Datadog
  module Tracing
    module Contrib
      module SemanticLogger
        module Configuration
          # Custom settings for the SemanticLogger integration
          # @public_api
          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
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ddtrace-1.12.1 lib/datadog/tracing/contrib/semantic_logger/configuration/settings.rb
ddtrace-1.12.0 lib/datadog/tracing/contrib/semantic_logger/configuration/settings.rb
ddtrace-1.11.1 lib/datadog/tracing/contrib/semantic_logger/configuration/settings.rb
ddtrace-1.11.0 lib/datadog/tracing/contrib/semantic_logger/configuration/settings.rb
ddtrace-1.11.0.beta1 lib/datadog/tracing/contrib/semantic_logger/configuration/settings.rb