Commit dd8afb80 authored by Rob Pike's avatar Rob Pike

log: fix out-of-date package comment

R=rsc
CC=golang-dev
https://golang.org/cl/2485041
parent 78d19b9b
...@@ -2,13 +2,12 @@ ...@@ -2,13 +2,12 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// Simple logging package. It defines a type, Logger, with simple // Simple logging package. It defines a type, Logger, with methods
// methods for formatting output to one or two destinations. It also // for formatting output. It also has a predefined 'standard' Logger
// has a predefined 'standard' Logger accessible through helper // accessible through helper functions Print[f|ln], Exit[f|ln], and
// functions Print[f|ln], Exit[f|ln], and Panic[f|ln], which are // Panic[f|ln], which are easier to use than creating a Logger manually.
// easier to use than creating a Logger manually. That logger writes // That logger writes to standard error and prints the date and time
// to standard error and prints the date and time of each logged // of each logged message.
// message.
// The Exit functions call os.Exit(1) after writing the log message. // The Exit functions call os.Exit(1) after writing the log message.
// The Panic functions call panic after writing the log message. // The Panic functions call panic after writing the log message.
package log package log
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment