Sha256: c1989efcc28669adacac41ae5fc46d526e4ea34e68cf6c5704f48620e3117301

Contents?: true

Size: 793 Bytes

Versions: 11

Compression:

Stored size: 793 Bytes

Contents

# Copyright (c) 2020 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

11 entries across 11 versions & 1 rubygems

Version Path
contrast-agent-4.4.1 lib/contrast/components/logger.rb
contrast-agent-4.4.0 lib/contrast/components/logger.rb
contrast-agent-4.3.2 lib/contrast/components/logger.rb
contrast-agent-4.3.1 lib/contrast/components/logger.rb
contrast-agent-4.3.0 lib/contrast/components/logger.rb
contrast-agent-4.2.0 lib/contrast/components/logger.rb
contrast-agent-4.1.0 lib/contrast/components/logger.rb
contrast-agent-4.0.0 lib/contrast/components/logger.rb
contrast-agent-3.16.0 lib/contrast/components/logger.rb
contrast-agent-3.15.0 lib/contrast/components/logger.rb
contrast-agent-3.14.0 lib/contrast/components/logger.rb