BUG: Log full formatted python string
Created by: jamesobutler
This solves an issue where python debug log messages were not having their strings formatted correctly when it was added to the Slicer application log.
This is based on a discussion from the discourse forum with @lassoan.