great, a neat way to make logging even cheaper...
instantiate all the time for each and every message :-)
It doesn't get instantiated every time. For instance Log4jLoggerFactory
creates one instance lazily and then does a map lookup. Of course, it is
still more expensive then just referring to a static var, certainly for
'just logging'. But otoh it seems unlikely that this will every be a real
problem in web applications.
Eelco
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user