use console.log in a way that works with testling