code: public static Debug getInstance(String option, String prefix)
      {
          if (isOn(option)) {
              Debug d = new Debug(prefix);
              return d;
          } else {
              return null;
          }
      }
docs: Get a Debug object corresponding to whether or not the given
  option is set. Set the prefix to be prefix.