func PrinterWithErrorRecorder(errorRecorder func(error)) PrinterOption {
	return func(printer *printer) {
		printer.errorRecorder = errorRecorder
	}
}
// PrinterWithErrorRecorder returns a new PrinterOption that records errors.
//
// The default is to drop errors.
PrinterWithErrorRecorder returns a new PrinterOption that records errors.

The default is to drop errors.
// PrinterWithErrorRecorder returns a new PrinterOption that records errors . // // The default is to drop errors .
func PrinterWithErrorRecorder(errorRecorder func(error)) PrinterOption {
	return func(printer *printer) {
		printer.errorRecorder = errorRecorder
	}
}
func PrinterWithErrorRecorder ( errorRecorder func ( error ) ) PrinterOption { return func ( printer * printer ) { printer . errorRecorder = errorRecorder } }
PrinterWithErrorRecorder returns a new PrinterOption that records errors.
PrinterWithErrorRecorder returns a new PrinterOption that records errors .