go.uber.org/zap/zapcore.EncoderConfig.TimeKey (field)
7 uses
go.uber.org/zap/zapcore (current package)
console_encoder.go#L80: if c.TimeKey != "" && c.EncodeTime != nil {
encoder.go#L321: TimeKey string `json:"timeKey" yaml:"timeKey"`
json_encoder.go#L375: if final.TimeKey != "" {
json_encoder.go#L376: final.AddTime(final.TimeKey, ent.Time)
go.uber.org/zap
config.go#L126: TimeKey: "ts",
config.go#L203: TimeKey: "T",
encoder.go#L65: if encoderConfig.TimeKey != "" && encoderConfig.EncodeTime == nil {
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. |