use new log function instead of overriding console.log