(t time.Time, enc zapcore.PrimitiveArrayEncoder)
| 74 | } |
| 75 | |
| 76 | func appendTimeInLocation(t time.Time, location *time.Location, enc zapcore.PrimitiveArrayEncoder) { |
| 77 | enc.AppendString(t.In(location).Format(logTimeLayout)) |
| 78 | } |
| 79 | |
| 80 | // optional helpers for structured fields (used in some modules) |
| 81 | func ZapString(k, v string) zap.Field { return zap.String(k, v) } |
nothing calls this directly
no outgoing calls
no test coverage detected