It's strange how undercooked logging is (not just in standard libraries, but in general) given everyone and every app does 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.