Commit 79b55e22 authored by David Symonds's avatar David Symonds

log.Stderr should actually go to stderr.

R=r
APPROVED=r
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=26926
CL=26928
parent d30285a6
...@@ -160,7 +160,7 @@ func Stdout(v ...) { ...@@ -160,7 +160,7 @@ func Stdout(v ...) {
// 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 Fprint(os.Stderr).
func Stderr(v ...) { func Stderr(v ...) {
stdout.Output(2, fmt.Sprintln(v)) stderr.Output(2, fmt.Sprintln(v))
} }
// Stdoutf is a helper functions for easy formatted logging to stdout. It is analogous to Printf(). // Stdoutf is a helper functions for easy formatted logging to stdout. It is analogous to Printf().
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment