Reduce coupling of logging guard with the severity of the log message.
Add logging guard.

Since we're logging three seperate times, we can't pass the message in a block.