]> Cypherpunks repositories - gostls13.git/commitdiff
doc: only the Logger.SetOutput method is new in Go 1.5
authorIan Lance Taylor <iant@golang.org>
Sun, 16 Aug 2015 19:20:31 +0000 (12:20 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 17 Aug 2015 15:29:23 +0000 (15:29 +0000)
The SetOutput function has been there since Go 1.

Fixes #12162.

Change-Id: I66210374877581e42689f9943532141659a55ca7
Reviewed-on: https://go-review.googlesource.com/13637
Reviewed-by: Rob Pike <r@golang.org>
doc/go1.5.html

index 0d5cc56b815919038e54f3497f2afdfc1116d3b4..13ca1eddb9edc1da2f596f52dc65f704382fe6f6 100644 (file)
@@ -1087,9 +1087,8 @@ uses a caller-provided buffer, permitting control of allocation and buffer size.
 The <a href="/pkg/log/"><code>log</code></a> package
 has a new <a href="/pkg/log/#LUTC"><code>LUTC</code></a> flag
 that causes time stamps to be printed in the UTC time zone.
-It also adds a <a href="/pkg/log/#SetOutput"><code>SetOutput</code></a> function
-to set the output destination for the standard logger
-and a corresponding method for user-created loggers.
+It also adds a <a href="/pkg/log/#Logger.SetOutput"><code>SetOutput</code></a> method
+for user-created loggers.
 </li>
 
 <li>