Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.logging.Level;
import java.util.logging.Logger;

public class Main {

    private static Logger logger = Logger.getLogger("InfoLogging2");

    public static void main(String[] args) {
        logger.logp(Level.INFO, "InfoLogging2", "main", "Logging an INFO-level message");
    }
}