code format

This commit is contained in:
nikk gitanes
2021-09-09 07:28:14 +03:00
parent 313d1122a0
commit 49a72242c4
4 changed files with 10 additions and 11 deletions

View File

@@ -49,7 +49,7 @@ func Init(path, webpath string) {
os.Stderr = ff
//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.SetFlags(log.Ldate | log.Ltime | log.LUTC | log.Lmsgprefix)
log.SetPrefix("UTC0 TLOG ")
log.SetOutput(ff)
}