Why not inline it and only have one commented line? `self.context.logger.debug(connection.cursor.mogrify(sql, params))`