On Tue, Dec 11, 2001 at 10:02:32PM +1100, Jeff Turner wrote:
> >     /**
> >      * Determine if messages of priority  will be logged.
> >      *
> >      * @return true if messages will be logged
> >      */
> >     public final boolean isEnabled(Priority p)
> >     {
> >         return getPriority().isLowerOrEqual( p );
> >     }
> 
> Isn't that logic backwards? If getPriority has a LOWER priority (eg
> DEBUG) that p's (eg WARN), then logging is disabled, not enabled.

Nevermind me.. misunderstood.. it's correct. 

--Jeff


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

Reply via email to