Files
Tim Deeb-SwihartandAlex Stanfield 022a351a7c log: add consistent, shorthand log tag constructors (#9174)
This PR adds _consistent_ shorthand tag constructors for all supported
zap tags.

I also added `Uint64` (and `NewUint64`) as we've wanted it in other
projects.

There are two main reasons:
- I (and others I've talked to) are lazy and dislike typing
`log.New<Type><TAB>` when `log.<Type>` would have done it
- Consistency! Some tags are just the type name (`Bool`, `Error`), some
have a prefix of New (`NewInt64`), and some have a prefix _and_ a suffix
of Tag (`NewStringTag`).

The new constructors are entirely consistent: no prefixes and no
suffixes; just the type's name.

I didn't, yet. These wrap existing APIs.

None.
2026-02-26 11:13:47 -06:00
..