Sha256: 8b0c17349b2a75079f111b65ec4c648aefc10f88825dd502c67c6b8d31f1a00e

Contents?: true

Size: 793 Bytes

Versions: 4

Compression:

Stored size: 793 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'

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

4 entries across 4 versions & 1 rubygems

Version Path
contrast-agent-4.8.0 lib/contrast/components/logger.rb
contrast-agent-4.7.0 lib/contrast/components/logger.rb
contrast-agent-4.6.0 lib/contrast/components/logger.rb
contrast-agent-4.5.0 lib/contrast/components/logger.rb