commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: [CLI] new design possibly?
Date Thu, 06 Feb 2003 11:40:53 GMT
From: "James Strachan" <>
> Comparing commons logger and the logkit in Avalon Framework (and ignoring
> their history for now) - they now look practically identical apart from
> LogEnabled interface (which isn't really needed anyway though I'm sure if
> 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
> 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.

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


Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message