Sha256: 79f9932c806b366dea2c0fff65b965f48cc751553d575979a3eeab55a78e87d9

Contents?: true

Size: 804 Bytes

Versions: 6

Compression:

Stored size: 804 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/logger/log'

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

      COMPONENT_INTERFACE = Interface.new
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
contrast-agent-3.13.2 lib/contrast/components/logger.rb
contrast-agent-3.13.1 lib/contrast/components/logger.rb
contrast-agent-3.13.0 lib/contrast/components/logger.rb
contrast-agent-3.12.2 lib/contrast/components/logger.rb
contrast-agent-3.12.1 lib/contrast/components/logger.rb
contrast-agent-3.12.0 lib/contrast/components/logger.rb