Log4j之logger.isInfoEnabled()和logger.isDebugEnabled
[size=small][b]1.看下apache的官方的document,[/b]在Performance下那块(From:http://logging.apache.org/log4j/1.2/manual.html)Forexample,forsomeloggercat,writing,logger.debug("Entrynumber:"+i+"is"+String.valueOf(ent