chjange default time format
This commit is contained in:
parent
88926fbb91
commit
3ec1a83686
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue