16 lines
409 B
Java
16 lines
409 B
Java
|
//: logging/InfoLogging.java
|
|||
|
// <20>2015 MindView LLC: see Copyright.txt
|
|||
|
import java.util.logging.*;
|
|||
|
|
|||
|
public class InfoLogging {
|
|||
|
private static Logger logger =
|
|||
|
Logger.getLogger("InfoLogging");
|
|||
|
public static void main(String[] args) {
|
|||
|
logger.info("Logging: INFO-level message");
|
|||
|
}
|
|||
|
} /* Output:
|
|||
|
___[ Error Output ]___
|
|||
|
Jun 15, 2015 3:47:52 PM InfoLogging main
|
|||
|
INFO: Logging: INFO-level message
|
|||
|
*///:~
|