Modified how debugging is printed to the log. The way it's done now makes it easier to read.