From f429cd3f58d4bcdac86a5ba4d4e2b4cbae95df06 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Wed, 13 Oct 2010 11:05:45 -0700 Subject: log: fix out-of-date package comment R=rsc CC=golang-dev http://codereview.appspot.com/2485041 --- src/pkg/log/log.go | 13 ++++++------- 1 file 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 -- cgit v1.2.1