摘要:
1、获得Logger实例import org.apache.logging.log4j.Logger;Logger logger=LogManager.getLogger( “logger的名字” );Logger logger=LogManager.getLogger(HelloWorld.class); (1)The LogManager will locate the appropriate LoggerContext and then obtain the Logger from it. (2)The logger simply has a name and is associated 阅读全文
posted @ 2013-03-28 17:18
windlaughing
阅读(681)
评论(0)
推荐(0)
浙公网安备 33010602011771号