]> Cypherpunks repositories - gostls13.git/commitdiff
log: fix out-of-date package comment
authorRob Pike <r@golang.org>
Wed, 13 Oct 2010 18:05:45 +0000 (11:05 -0700)
committerRob Pike <r@golang.org>
Wed, 13 Oct 2010 18:05:45 +0000 (11:05 -0700)
R=rsc
CC=golang-dev
https://golang.org/cl/2485041

src/pkg/log/log.go

index 74602d93c69b5a75dd6dba79521debe470d7bc9a..e8af2cb58212b2bb1f1213f5caa3c0e52df0df5d 100644 (file)
@@ -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