require 'logger' module BjnInventory class DefaultLogger < Logger def initialize(progname='bjn_inventory') logger = Logger.new $stderr logger.level = Logger::WARN logger end end end