From dd8afb800b64aeab5054706cf081fe506609138a Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Wed, 13 Oct 2010 11:05:45 -0700 Subject: [PATCH] log: fix out-of-date package comment R=rsc CC=golang-dev https://golang.org/cl/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 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