module Bundler::PubGrub

def default_logger

def default_logger
  require "logger"
  logger = ::Logger.new(STDERR)
  logger.level = $DEBUG ? ::Logger::DEBUG : ::Logger::WARN
  @logger = logger
end

def logger

def logger
  @logger || default_logger
end