public boolean isEnabledFor(Priority level) {
        if (repository.isDisabled(level.level))
            return false;
        return level.isGreaterOrEqual(this.getEffectiveLevel());
    }
public boolean isEnabledFor ( Priority level ) { if ( repository . isDisabled ( level . level ) ) return false ; return level . isGreaterOrEqual ( this . getEffectiveLevel ( ) ) ; }
Check whether this category is enabled for a given {@link Level} passed as parameter.

See also {@link #isDebugEnabled}.

@return boolean True if this category is enabled for <code>level</code>.