Witaj ex1), W Twoim liście datowanym 22 sierpnia 2003 (19:03:18) można przeczytać:
SRHSe> Hi guys, SRHSe> Just curious why you're using in your code constructs like SRHSe> if ( log.debuggingIsEnabled() ) { SRHSe> log.debug( "foo" ); SRHSe> } SRHSe> Isn't this redundant? After all log.debug() will only output messages when SRHSe> debugging level is set to DEBUG. Why not just use log.debug( "foo" )? Saves SRHSe> you two lines... JVM ommit those lines when log.isDebugEnabled==false without carrying about log.debug(...). If U have many log.debug calls it gives your code little speed-up. Check http://jakarta.apache.org/log4j/docs/manual.html "Performance" chapter -- Greetz ciukes