aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2010-10-13 11:05:45 -0700
committerRob Pike <r@golang.org>2010-10-13 11:05:45 -0700
commitdd8afb800b64aeab5054706cf081fe506609138a (patch)
tree355def1eeff910bbc94c087b804a00c683bb8916
parent78d19b9b7387db42470a3c47c602993fae452f48 (diff)
downloadgo-dd8afb800b64aeab5054706cf081fe506609138a.tar.gz
go-dd8afb800b64aeab5054706cf081fe506609138a.zip
log: fix out-of-date package comment
R=rsc CC=golang-dev https://golang.org/cl/2485041
-rw-r--r--src/pkg/log/log.go13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/pkg/log/log.go b/src/pkg/log/log.go
index 74602d93c6..e8af2cb582 100644
--- a/src/pkg/log/log.go
+++ b/src/pkg/log/log.go
@@ -2,13 +2,12 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// Simple logging package. It defines a type, Logger, with simple
-// methods for formatting output to one or two destinations. It also
-// has a predefined 'standard' Logger accessible through helper
-// functions Print[f|ln], Exit[f|ln], and Panic[f|ln], which are
-// easier to use than creating a Logger manually. That logger writes
-// to standard error and prints the date and time of each logged
-// message.
+// Simple logging package. It defines a type, Logger, with methods
+// for formatting output. It also has a predefined 'standard' Logger
+// accessible through helper functions Print[f|ln], Exit[f|ln], and
+// Panic[f|ln], which are easier to use than creating a Logger manually.
+// That logger writes to standard error and prints the date and time
+// of each logged message.
// The Exit functions call os.Exit(1) after writing the log message.
// The Panic functions call panic after writing the log message.
package log