From: "James Strachan" <[EMAIL PROTECTED]>
> Comparing commons logger and the logkit in Avalon Framework (and ignoring
> their history for now) - they now look practically identical apart from
the
> LogEnabled interface (which isn't really needed anyway though I'm sure if
it
> was essential to Avalon users there wouldn't be much resistence to adding
> something like this to commons-logging).
>
> Indeed there's nothing to stop someone using logkit in Avalon Framework in
a
> non-IOC way.
>
> public class SomeBean {
>     private Logger log = new ConsoleLogger();
>     ...
> }
>
> So objecting about commons-logging not advocating IOC doesn't seem to make
> sense. It'd be trivial to write a commons Log implementation that uses
> logkit if you're really concerned about logging integration - though for
> command line tools I'm not sure its worth it.

Correction. There's already a Log implementation for LogKit.

http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/imp
l/LogKitLogger.html

So CLI (and indeed any other commons component) can happily log to logkit.

James
-------
http://radio.weblogs.com/0112098/

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to