Get rid of the logstr helper function