code: func logPath(dir, id, stream string) string {
  	return filepath.Join(dir, fmt.Sprintf("%s-%s.log", id, stream))
  }
docs: // logPath is a helper to return the path to the log file for the given
  // directory, service ID, and stream type (stdout or stderr).