logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Re: Levels in UGLI
Date Thu, 05 Aug 2004 18:11:43 GMT
At 07:51 PM 8/5/2004, you wrote:

>Which levels should be defined in org.apache.ugli.Logger?

>  I see debug,
>info, warn, error, but no off, all, fatal, or trace.

off and all are not printing methods. No one ever writes nor would want to 

   logger.off("some msg"); (a never printing message)


   logger.all("some msg"); (an always printing message)

fatal is not that different from error. similarly, trace is not really 
different from debug. A much finer level of control can be achieved by 
using domains. This will become clear once domains are implemented.

>I'm fine with
>that, but I'm just curious as to the reasoning that went into choosing
>the UGLI levels.

I hope this answers your question.

>Yoav Shapira
>Millennium Research Informatics

Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp  

To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

View raw message