Changed the logging to use the formatter. 

That way I don't pay the String concatenation cost if I'm not interested in the log message.