chore(logging): Removes duplicated timestamp during booting
This commit is contained in:
parent
d95df78c6d
commit
5d58c6c1c1
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user