code: private static Map<WriterKind, PrintWriter> initWriters(Context context) {
          PrintWriter out = context.get(outKey);
          PrintWriter err = context.get(errKey);
          if (out == null && err == null) {
              out = new PrintWriter(System.out, true);
              err = new PrintWriter(System.err, true);
              return initWriters(out, err);
          } else if (out == null || err == null) {
              PrintWriter pw = (out != null) ? out : err;
              return initWriters(pw, pw);
          } else {
              return initWriters(out, err);
          }
      }
docs: Initialize a map of writers based on values found in the context
  @param context the context in which to find writers to use
  @return a map of writers