A solution for this would be great. I’ve had problems countless times with such long error messages, sometimes it would get so bad, that I would have to copy paste into a text editor and split it on my own to make any sense of it.
Just to add. It’s not like there’s no solutions at all out there, but usually they’re coupled to some logger aggregator system, which one might or might not use and usage is generally less likely in development over in production.
I was curious however. Apple seems to have a C api for its unified logger system, so a NIF or port could call into that.
I’m amazed nobody has mentioned Syslog (RFC5425) yet. It’s old, well known, and allows structured and unstructured logging at the same time. Couple it with Promtail/Vector for forwarding logs to Loki and you have a production setup at home.