Flush log IO before exiting

This commit is contained in:
Jimmy Zelinskie 2014-07-13 21:27:20 -04:00
parent 8ddbf32002
commit fc0b1b008d

View file

@ -29,6 +29,8 @@ func init() {
} }
func main() { func main() {
defer glog.Flush()
flag.Parse() flag.Parse()
glog.Info("parsed flags") glog.Info("parsed flags")