chore(logging): Removes duplicated timestamp during booting

This commit is contained in:
Camilo Aguilar 2014-05-16 17:35:31 -04:00
parent d95df78c6d
commit 5d58c6c1c1

View File

@ -13,6 +13,11 @@ import (
const version = "0.6.0+git" const version = "0.6.0+git"
func init() {
//Removes timestamp since it is displayed already during booting
log.SetFlags(0)
}
func main() { func main() {
var printVersion bool var printVersion bool
flag.BoolVar(&printVersion, "version", false, "Print the version and exit") flag.BoolVar(&printVersion, "version", false, "Print the version and exit")