Sha256: 44b45dab469185cff3fa74c91582779c958738ae725f758969fc7e222af06ed8

Contents?: true

Size: 808 Bytes

Versions: 1

Compression:

Stored size: 808 Bytes

Contents

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

cs__scoped_require 'contrast/agent/logger'

module Contrast
  module Components
    module Logger
      module InstanceMethods #:nodoc:
        def logger
          Contrast::Agent::Logger.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

      COMPONENT_INTERFACE = Interface.new
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
contrast-agent-3.11.0 lib/contrast/components/logger.rb