code: public StringBuilder generate(Log log) {
  		StringBuilder s = new StringBuilder();
  		for (int i = 0; i < parts.length; ++i)
  			parts[i].append(s, log);
  		if (log.trace != null)
  			appendStack(s, log.trace);
  		return s;
  	}
docs: Generate a log string.