示例#1
0
func main() {
	log.Println("Basic")
}
示例#2
0
func main() {
	log := log.New(os.Stdout, NewCustomFormatter())
	log.Println("Custom formatter")
}