1
0
mirror of https://github.com/golang/go synced 2024-09-24 13:10:12 -06:00

log.Stderr should actually go to stderr.

R=r
APPROVED=r
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=26926
CL=26928
This commit is contained in:
David Symonds 2009-03-30 19:01:59 -07:00
parent d30285a6f5
commit 79b55e226a

View File

@ -160,7 +160,7 @@ func Stdout(v ...) {
// Stderr is a helper function for easy logging to stderr. It is analogous to Fprint(os.Stderr).
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().