Sha256: 9f6817d8e47d56c9f3c794032a5a9c8f1d1dd48591f2232ed071bedc74cb133e

Contents?: true

Size: 280 Bytes

Versions: 5

Compression:

Stored size: 280 Bytes

Contents

module Conjur::Policy::Logger
  def self.included base
    base.module_eval do
      # Override the logger with this method.
      cattr_accessor :logger
      
      require 'logger'
      self.logger = Logger.new(STDERR)
      self.logger.level = Logger::INFO
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
conjur-asset-policy-0.8.3 lib/conjur/policy/logger.rb
conjur-asset-policy-0.8.2 lib/conjur/policy/logger.rb
conjur-asset-policy-0.8.1 lib/conjur/policy/logger.rb
conjur-asset-policy-0.8.0 lib/conjur/policy/logger.rb
conjur-asset-policy-0.7.1 lib/conjur/policy/logger.rb