3.0 - Using a simple string interpolation reouting in QueryLogger

The idea is to try to not depend on the String library inside Database lib.
Not using String::insert() would also make @markstory happy
I changed the order of the params here to make sure the interpolation is not order dependent