Removing unneeded `self` variable from `log()`