Uint64 constructs a field with the given key and value.
(key string, val uint64)
| 248 | |
| 249 | // Uint64 constructs a field with the given key and value. |
| 250 | func Uint64(key string, val uint64) Field { |
| 251 | return Field{Key: key, Type: zapcore.Uint64Type, Integer: int64(val)} |
| 252 | } |
| 253 | |
| 254 | // Uint64p constructs a field that carries a *uint64. The returned Field will safely |
| 255 | // and explicitly represent `nil` when appropriate. |
no outgoing calls