Merged Query\Log functionality into Query\Result
Removed Query\Log
Fixed sprintf