Sha256: 1bfb88a31519af4ba4232a9db6e4290dca75038d6ffbf981c6222f98bdaf959f
Contents?: true
Size: 323 Bytes
Versions: 4
Compression:
Stored size: 323 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 = (ENV['DEBUG'] == "true" ? Logger::DEBUG : Logger::INFO) end end end
Version data entries
4 entries across 4 versions & 2 rubygems