Im just starting to learn zig. Is there a strongly typed logging api that allows capturing data as individual strongly typed data.
I notice there is a std.log api, but it appears to require mushing the log data into a string. Is there an alternate api for people who internationalize their code and want to be able to separately store the field data rather than mush it into a string, like the Uber Zap api?
logger.Info("CACHE_FETCH_FAILED",
// Strongly typed structured Field values.
zap.String("url", url),
zap.String("ip", session.IP()),
zap.Int("attempt", 3),
zap.Duration("backoff", time.Second),
)