Int64 constructs a field with the given key and value.
(key string, val int64)
| 164 | |
| 165 | // Int64 constructs a field with the given key and value. |
| 166 | func Int64(key string, val int64) Field { |
| 167 | return Field{Key: key, Type: zapcore.Int64Type, Integer: val} |
| 168 | } |
| 169 | |
| 170 | // Int64p constructs a field that carries a *int64. The returned Field will safely |
| 171 | // and explicitly represent `nil` when appropriate. |
no outgoing calls