summaryrefslogtreecommitdiff
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
commitf429cd3f58d4bcdac86a5ba4d4e2b4cbae95df06 (patch)
treec919ac4f8967465b2e4e9e29ab0769005f30144f
parent6f6b9b2e5872e7e0305b27280cd4107f6ed9ced5 (diff)
downloadgo-f429cd3f58d4bcdac86a5ba4d4e2b4cbae95df06.tar.gz
log: fix out-of-date package comment
R=rsc CC=golang-dev http://codereview.appspot.com/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 74602d93c..e8af2cb58 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