Logging.java Source code

Java tutorial

Introduction

Here is the source code for Logging.java

Source

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");
    }
}