Peter Donald <[EMAIL PROTECTED]> wrote:

>>what features does LogKit have over Log4J, to make it 
>>more appealing to Ant2, other than size?

>Simplicity.

To perform a simple log operation in Log4J:

   Category  cat = Category.getInstance("com.foo");
   cat.setPriority(Priority.DEBUG);
   cat.debug("Debug Message"); 

To perform a simple log operation in LogKit:
   Category cat = new Category("com.foo");
   cat.setPriority(Priority.DEBUG);
   Logger logger = new Logger(cat);
   logger.debug("Debug Message");

Doesn't seem a lot different at least in the simplest of cases.  Please explain 
(probably more complex scenarios) where the simplicity of LogKit wins over 
Log4J.

>Cheers,

>Pete

Magesh

_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com




Reply via email to