chjange default time format

This commit is contained in:
a 2022-09-17 11:56:02 -05:00
parent 88926fbb91
commit 3ec1a83686
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ import (
var Logger = zlog.New(os.Stderr).With().Timestamp().Logger()
func init() {
zlog.TimeFieldFormat = time.RFC3339Nano
zlog.TimeFieldFormat = time.StampMicro
}
// Output duplicates the global logger and sets w as its output.