aboutsummaryrefslogtreecommitdiff
path: root/src/log
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2020-11-26 17:01:35 +0100
committerIan Lance Taylor <iant@golang.org>2020-11-26 21:10:09 +0000
commit926994fd7cf65b2703552686965fb05569699897 (patch)
tree9efea3eafb6d7925018f44d8484c2e369fb0210d /src/log
parentf0ff6d4a67ec9a956aa655d487543da034cf576b (diff)
downloadgo-926994fd7cf65b2703552686965fb05569699897.tar.gz
go-926994fd7cf65b2703552686965fb05569699897.zip
log: make Default doc comment consistent with package doc
None of the other, older, doc comments use the '*Logger' form, and while 'Logger' and 'logger' are both used in the package doc comment, the common term used with the intended meaning is 'standard logger', which appears another eleven times in doc comments. Change-Id: I089103198fc82390517615eb27bbe7ef77107d34 Reviewed-on: https://go-review.googlesource.com/c/go/+/273486 Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/log')
-rw-r--r--src/log/log.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log/log.go b/src/log/log.go
index 8c0f83f0d1..b77af29032 100644
--- a/src/log/log.go
+++ b/src/log/log.go
@@ -75,7 +75,7 @@ func (l *Logger) SetOutput(w io.Writer) {
var std = New(os.Stderr, "", LstdFlags)
-// Default returns the *Logger used by the package-level output functions.
+// Default returns the standard logger used by the package-level output functions.
func Default() *Logger { return std }
// Cheap integer to fixed-width decimal ASCII. Give a negative width to avoid zero-padding.