Stephen,

there is a method isEnabledFor()
that checks whether this category is enabled for a 
given Priority passed as parameter.

Mike

> -----Original Message-----
> From: Stephen Levinson [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 10, 2001 2:54 PM
> To: '[EMAIL PROTECTED]'
> Subject: isDebugEnabled()
> 
> 
> Hi all...
> 
>       There are methods isDebugEnabled() and isInfoEnabled() 
> for avoiding
> performance penalties when tracing is turned up high... but 
> there are NO
> corresponding methods isWarnEnabled() and isErrorEnabled(). 
> These could be
> easily written.. however, I'm wondering why they aren't in 
> the package. Any
> help?
> 
> Thanks, Stephen
> 
> ==============================================
> Stephen Levinson                    
> SUN Microsystems Engineering 
> 199 Forest St.                                
> Marlborough, MA 01752
> Phone: 508-460-5152 X187
> FAX: 508-460-5153
> ==============================================
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to