Sha256: 8e31bfcaed0a82ada0f8463cf8a1fc3342652448ebdba340ebdb5de415d7d644

Contents?: true

Size: 709 Bytes

Versions: 1

Compression:

Stored size: 709 Bytes

Contents

# Copyright (c) 2022 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details.
# frozen_string_literal: true

module Contrast
  module Config
    # Common Configuration settings. Those in this section pertain to the
    # logging in the Agent.
    class LoggerConfiguration < BaseConfiguration
      # @return [String, nil]
      attr_accessor :path
      # @return [String, nil]
      attr_accessor :level
      # @return [String, nil]
      attr_accessor :progname

      def initialize hsh = {}
        @path = traverse_config(hsh, :path)
        @level = traverse_config(hsh, :level)
        @progname = traverse_config(hsh, :progname)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
contrast-agent-6.0.0 lib/contrast/config/logger_configuration.rb