code: func glogBody(prefix string, body []byte) {
  	if klog.V(8) {
  		if bytes.IndexFunc(body, func(r rune) bool {
  			return r < 0x0a
  		}) != -1 {
  			klog.Infof("%s:\n%s", prefix, truncateBody(hex.Dump(body)))
  		} else {
  			klog.Infof("%s: %s", prefix, truncateBody(string(body)))
  		}
  	}
  }
docs: // glogBody logs a body output that could be either JSON or protobuf. It explicitly guards against
  // allocating a new string for the body output unless necessary. Uses a simple heuristic to determine
  // whether the body is printable.