Log
格式化
package main
import "log"
func main() {
log.SetFlags(log.Ldate | log.Ltime | log.Llongfile)
log.Fatalln("hello world")
}
package main
import "log"
func main() {
log.SetFlags(log.Ldate | log.Ltime | log.Llongfile)
log.Fatalln("hello world")
}