Sha256: 9421a293ed579f5b6b8303baa87de8df45c951ad5706c7d70e5978f24457d57f

Contents?: true

Size: 785 Bytes

Versions: 2

Compression:

Stored size: 785 Bytes

Contents

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

require 'contrast/logger/log'
require 'contrast/components/base'

module Contrast
  module Components
    module Logger
      module InstanceMethods #:nodoc:
        def logger
          Contrast::Logger::Log.instance.logger
        end
      end
      ClassMethods = InstanceMethods

      # A wrapper build around the Common Agent Configuration project to allow
      # for access of the values contained in its
      # parent_configuration_spec.yaml.
      # Specifically, this allows for querying the state of the Agent Logger.
      class Interface
        include Contrast::Components::ComponentBase
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
contrast-agent-4.9.1 lib/contrast/components/logger.rb
contrast-agent-4.9.0 lib/contrast/components/logger.rb