commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Gaspar" <paulo.gas...@krankikom.de>
Subject RE: how should log levels work? [Was Re: [Logging] default log level]
Date Fri, 11 Jan 2002 19:40:14 GMT
> the problem is that we're going to have to process what ever's returned 
> into a Log constant. this means that we can't return custom priorities 
> except in a system dependent manner. maybe so it'd be better to have 
> isXXXXEnabled for each log level.

Of course! Has in Peter's interface.
=:o)


Have fun,
Paulo

> -----Original Message-----
> From: robert burrell donkin [mailto:robertdonkin@mac.com]
> Sent: Friday, January 11, 2002 7:44 PM
> To: Jakarta Commons Developers List
> Subject: Re: how should log levels work? [Was Re: [Logging] default log
> level]
> 
> 
> 
> On Thursday, January 10, 2002, at 08:00 PM, Paulo Gaspar wrote:
> 
> > Hi Robert,
> >
> >
> > You really should take a look at the coded I posted. Especially the
> > wrappers package!!!
> >
> > You can get what is the log level of LogKit by testing the
> >         m_logger.isDebugEnabled();
> >         m_logger.isInfoEnabled();
> >         m_logger.isXXXXEnabled();
> >
> > ...methods in the right order.
> 
> yes.
> 
> the problem is that we're going to have to process what ever's returned 
> into a Log constant. this means that we can't return custom priorities 
> except in a system dependent manner. maybe so it'd be better to have 
> isXXXXEnabled for each log level.
> 
> - robert
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:commons-dev-help@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message