I think it a library like that has a place. Right now the implementation of inspect
is not focused on speed - and rightfully so - it’s primarily used for debugging, so the output should be “nice” and not "fast. That’s usually not what you want for logging - for logging the conversion should be as fast as possible and often some “niceties” can be abandoned.
If the library focused on the speed of conversion and was comprehensible in handling all the types (probably also protocol-based), I think it could be useful.