aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2012-03-12 16:29:33 -0400
committerRuss Cox <rsc@golang.org>2012-03-12 16:29:33 -0400
commit0af08d825343431594421aec06fec4c96052257b (patch)
tree07fb48ee420080305fdc0ef94356706059ad6d4f
parenta7c9f2490769e29696b64c3e4027b1bca64d44f1 (diff)
downloadgo-0af08d825343431594421aec06fec4c96052257b.tar.gz
go-0af08d825343431594421aec06fec4c96052257b.zip
log: fix doc comment for Ldate
Fixes #3303. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5795062
-rw-r--r--src/pkg/log/log.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/log/log.go b/src/pkg/log/log.go
index 85374a0534..1d7f209d1d 100644
--- a/src/pkg/log/log.go
+++ b/src/pkg/log/log.go
@@ -27,7 +27,7 @@ const (
// order they appear (the order listed here) or the format they present (as
// described in the comments). A colon appears after these items:
// 2009/0123 01:23:23.123123 /a/b/c/d.go:23: message
- Ldate = 1 << iota // the date: 2009/0123
+ Ldate = 1 << iota // the date: 2009/01/23
Ltime // the time: 01:23:23
Lmicroseconds // microsecond resolution: 01:23:23.123123. assumes Ltime.
Llongfile // full file name and line number: /a/b/c/d.go:23