go.uber.org/zap/zapcore.EncoderConfig.EncodeTime (field)
8 uses
go.uber.org/zap/zapcore (current package)
console_encoder.go#L80: if c.TimeKey != "" && c.EncodeTime != nil {
console_encoder.go#L81: c.EncodeTime(ent.Time, arr)
encoder.go#L332: EncodeTime TimeEncoder `json:"timeEncoder" yaml:"timeEncoder"`
json_encoder.go#L308: if e := enc.EncodeTime; e != nil {
go.uber.org/zap
config.go#L135: EncodeTime: zapcore.EpochTimeEncoder,
config.go#L212: EncodeTime: zapcore.ISO8601TimeEncoder,
encoder.go#L65: if encoderConfig.TimeKey != "" && encoderConfig.EncodeTime == nil {
logger.go#L134: EncodeTime: zapcore.ISO8601TimeEncoder,
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |