module Bundler::PubGrub - bundler: Ruby Standard Library Documentation

# module Bundler::PubGrub

### Constants

VERSION

### Attributes

logger[W]

### Public Class Methods

logger() click to toggle source

    # File bundler/vendor/pub_grub/lib/pub_grub.rb, line 17
    def logger
      @logger || default_logger
    end

### Private Class Methods

default_logger() click to toggle source

    # File bundler/vendor/pub_grub/lib/pub_grub.rb, line 23
    def default_logger
      require "logger"

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