Change console.log to self.log for consistency