6 ms·
I think you missed the “any handler” part. Currently, the types that my library package could use depend on the handler used by the caller. This limits types to
by aleksi 1y ago
I think you missed the “any handler” part. Currently, the types that my library package could use depend on the handler used by the caller. This limits types to an unspecified subset, making things quite impractical.
- arccy 1y agoany 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.