Java专题十五:日志
java.util.logging
public class LogTest {
static Logger logger = Logger.getLogger(LogTest.class.getName());
public void hello(){
logger.log(Level.INFO, "hello");
}
public static void main(String[] args){
new LogTest().hello();
}
}