Properly log to console.