def printmsg(strVal): gzSupport.addMessageLocal(strVal)
def msg(val): # simple print message function - want to log messages to screen and log file strVal = str(val) gzSupport.addMessageLocal(strVal) global log log.write(strVal + "\n")