]> Cypherpunks repositories - gostls13.git/commit
log: add Logger.Writer method
authorAndrew Poydence <apoydence@pivotal.io>
Thu, 25 Oct 2018 23:14:15 +0000 (23:14 +0000)
committerRob Pike <r@golang.org>
Thu, 25 Oct 2018 23:23:57 +0000 (23:23 +0000)
commit51104cd4d2dab6bdd8bda694c0a9a5613cec3b84
treeedc4ddb264d3c12938d06a58de3a96776574ddba
parent7a634034c89c653bccd451e417db7034b34402b7
log: add Logger.Writer method

Writer method returns the underlying io.Writer used by the given Logger
object.

Fixes #28327

Change-Id: I6347913d8be8d3222b98967b136cf03d00f446d1
GitHub-Last-Rev: 2db0c5c7416436f99852592d2f258ca93da96712
GitHub-Pull-Request: golang/go#28399
Reviewed-on: https://go-review.googlesource.com/c/144757
Reviewed-by: Rob Pike <r@golang.org>
src/log/log.go