update log

This commit is contained in:
nikk gitanes
2021-08-23 20:27:17 +03:00
parent ebe547a566
commit 6775ded8ae
6 changed files with 28 additions and 15 deletions

View File

@@ -50,7 +50,7 @@ func Init(path, webpath string) {
//https://stackoverflow.com/a/36140590
//fmt.Print(time.Now().UTC().Format("2006-01-02T15:04:05.999Z") + " TLOG " + string(bytes))
log.SetFlags(log.Ldate|log.Ltime|log.LUTC|log.Lmsgprefix)
log.SetPrefix("0000 TLOG ")
log.SetPrefix("UTC0 TLOG ")
log.SetOutput(ff)
}
}