>> very pythonish. I like it :-) > > ...but only with jdk 1.5 :-/
Not AFAIK.
[1] http://logging.apache.org/log4j/docs/ugli.html
http://cvs.apache.org/viewcvs.cgi/logging-log4j/src/java/org/apache/ugli/ULogger.java?rev=1.2&view=markup
Two paramters ...and variable arguments lists are only supported since java 1.5.
So we would be back at constructing the Strings and need the isBlaEnabled check.
...so is there any other benefit over other logging abstractions?
cheers -- Torsten