import java.util.logging.Logger; public class Logging { public static void main(String[] args) { Logger log = Logger.getLogger("global"); log.finest("A"); log.finer("B"); log.fine("C"); log.config("D"); log.info("E"); log.warning("O"); log.severe("A"); } }