code: func LoggedError(err error, format string, args ...interface{}) {
  	if len(format) > 0 {
  		Error(format, args...)
  	}
  	file := handlePanic(err)
  
  	if len(file) > 0 {
  		fmt.Fprintf(os.Stderr, "\nErrors logged to %s\nUse `git lfs logs last` to view the log.\n", file)
  	}
  }
docs: // LoggedError prints the given message formatted with its arguments (if any) to
  // Stderr. If an empty string is passed as the "format" argument, only the
  // standard error logging message will be printed, and the error's body will be
  // omitted.
  //
  // It also writes a stack trace for the error to a log file without exiting.