mirror of
https://github.com/golang/go
synced 2024-11-26 08:27:56 -07: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:
parent
d30285a6f5
commit
79b55e226a
@ -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().
|
||||
|
Loading…
Reference in New Issue
Block a user