Sha256: 0ea02ee0cbe7dfd33bf3a2db0b21e4a2449e11731e36008e3486fd78bcd93e7d

Contents?: true

Size: 710 Bytes

Versions: 6

Compression:

Stored size: 710 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
      include Contrast::Config::BaseConfiguration

      # @return [String, nil]
      attr_accessor :path
      # @return [String, nil]
      attr_accessor :level
      # @return [String, nil]
      attr_accessor :progname

      def initialize hsh = {}
        return unless hsh

        @path = hsh[:path]
        @level = hsh[:level]
        @progname = hsh[:progname]
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
contrast-agent-6.4.0 lib/contrast/config/logger_configuration.rb
contrast-agent-6.3.0 lib/contrast/config/logger_configuration.rb
contrast-agent-6.2.0 lib/contrast/config/logger_configuration.rb
contrast-agent-6.1.2 lib/contrast/config/logger_configuration.rb
contrast-agent-6.1.1 lib/contrast/config/logger_configuration.rb
contrast-agent-6.1.0 lib/contrast/config/logger_configuration.rb