A replacement for `console.log`