public boolean isLoggable(Level level) {
      if (utilLogger != null) {
         java.util.logging.Level javaLevel = getJavaLevelFor(level);
         return javaLevel != null && utilLogger.isLoggable(javaLevel);
      } else if (commonsLogger != null) {
         switch (level) {
            case ERROR: return (Boolean)callCommonsLogger("isErrorEnabled");
            case FATAL: return (Boolean)callCommonsLogger("isFatalEnabled");
            case WARN: return (Boolean)callCommonsLogger("isWarnEnabled");
            case INFO: return (Boolean)callCommonsLogger("isInfoEnabled");
            case DEBUG: return (Boolean)callCommonsLogger("isDebugEnabled");
            case TRACE: return (Boolean)callCommonsLogger("isTraceEnabled");
         }
      }
      return false;
   }