mirror of
https://github.com/golang/go
synced 2024-11-21 22:04:39 -07:00
log: fix out-of-date package comment
R=rsc CC=golang-dev https://golang.org/cl/2485041
This commit is contained in:
parent
78d19b9b73
commit
dd8afb800b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user