From 4fd7880d81be995922f0babf26466ff6a893e483 Mon Sep 17 00:00:00 2001
From: Rob Pike log.Stderr
we used above. It passes its arguments directly
fmt.Sprintln
for the actual formatting.
-// Stderr is a helper function for easy logging to stderr. It is analogous to Fprint(os.Stderr). +// Stderr is a helper function for easy logging to stderr. It is analogous to Fprintln(os.Stderr). func Stderr(v ...interface{}) { stderr.Output(2, fmt.Sprintln(v)) // Output takes parameters (int, string) }