为什么用log4j不用system

为什么不用System.out.println()?

功能太弱;不易于控制。如果暂时不想输出了怎么办?如果想输出到文件怎么办?如果想部分输出怎么办?……

猜你喜欢

转载自vitacui.iteye.com/blog/1954064