Pretty log with timestamp

This commit is contained in:
Alexey Kostin 2018-05-10 23:09:40 +03:00
parent 525b7a2a25
commit 78736ef4e0

View File

@ -507,7 +507,7 @@ func main() {
color.HiRed("Check that the qBittorrent is turned off and the directory %v and config %v is backed up.\n\n", qbitdir, config)
fmt.Println("Press Enter to start")
fmt.Scanln()
fmt.Println("Started")
log.Println("Started")
totaljobs := len(resumefile) - 2
numjob := 1
var oldtags string
@ -568,6 +568,7 @@ func main() {
}
cfg.SaveTo(config)
}
log.Println("Ended")
fmt.Println("\nPress Enter to exit")
fmt.Scanln()
}