any handler is too broad, maybe my custom handler only logs strings and ignores ints.
for a reasonable substitute subset, use the core language types, and implement LogValuer for anything complex.