Prints message to console only when showInfo is true
.log(self, msg = "")
self
Calling object
msg
(character) The message to print