code: func (l *Logger) logLine(str string) (n int, err error) {
  	padding := strings.Repeat(" ", maxInt(0, l.widthFn()-len(str)))
  
  	return l.log(str + padding + "\r")
  }
docs: // logLine writes a complete line and moves the cursor to the beginning of the
  // line.
  //
  // It returns the number of bytes "n" written to the sink and the error "err",
  // if one was encountered.