Sha256: e6837dca75d488d087ff992ce80007b6298d055abec8947d47ec7c13c49166b7

Contents?: true

Size: 278 Bytes

Versions: 5

Compression:

Stored size: 278 Bytes

Contents

module Conjur::DSL2::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-dsl2-0.6.1 lib/conjur/dsl2/logger.rb
conjur-asset-dsl2-0.6.0 lib/conjur/dsl2/logger.rb
conjur-asset-dsl2-0.5.0 lib/conjur/dsl2/logger.rb
conjur-asset-dsl2-0.4.4 lib/conjur/dsl2/logger.rb
conjur-asset-dsl2-0.4.3 lib/conjur/dsl2/logger.rb