ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <>
Subject Re: [Vote] Logging
Date Thu, 10 May 2001 01:26:52 GMT
Peter Donald <> wrote:

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


To perform a simple log operation in Log4J:

   Category  cat = Category.getInstance("");
   cat.debug("Debug Message"); 

To perform a simple log operation in LogKit:
   Category cat = new Category("");
   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.




Chat with your friends as soon as they come online. Get Rediff Bol at

View raw message