It's strange how undercooked logging is (not just in standard libraries, but in general) given everyone and every app does it.
alcazar•30m ago
It's one of those things that keeps getting reinvented over and over. Most people don't want to put in the effort to perfect it.
For the longest time, I've done the bare minimum and just used console.log/print for whatever I thought I needed in that particular piece of code; without any coherent system.
deskamess•3m ago
Are there any restrictions on how short the error_slug should be? The meat of some of my errors can be pretty long (for example an ffmpeg error). There are also many phases to a job - call them tasks. Can a canonical log line be a collection of task log lines?
formerly_proven•44m ago
alcazar•30m ago
For the longest time, I've done the bare minimum and just used console.log/print for whatever I thought I needed in that particular piece of code; without any coherent system.