Skip to content

Commit

Permalink
doc: only the Logger.SetOutput method is new in Go 1.5
Browse files Browse the repository at this point in the history
The SetOutput function has been there since Go 1.

Fixes golang#12162.

Change-Id: I66210374877581e42689f9943532141659a55ca7
Reviewed-on: https://go-review.googlesource.com/13637
Reviewed-by: Rob Pike <[email protected]>
  • Loading branch information
ianlancetaylor committed Aug 17, 2015
1 parent 3c43158 commit d7aae33
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions doc/go1.5.html
Original file line number Diff line number Diff line change
Expand Up @@ -1087,9 +1087,8 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
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>
Expand Down

0 comments on commit d7aae33

Please sign in to comment.