Uint constructs a field with the given key and value.
(key string, val uint)
| 234 | |
| 235 | // Uint constructs a field with the given key and value. |
| 236 | func Uint(key string, val uint) Field { |
| 237 | return Uint64(key, uint64(val)) |
| 238 | } |
| 239 | |
| 240 | // Uintp constructs a field that carries a *uint. The returned Field will safely |
| 241 | // and explicitly represent `nil` when appropriate. |