changing logging functions to signify that they take a format