Log to the belonging console.