Flush log IO before exiting
This commit is contained in:
parent
8ddbf32002
commit
fc0b1b008d
1 changed files with 2 additions and 0 deletions
2
main.go
2
main.go
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue