自定义函数: def myPrint(msg,type=””): #msg= if type==””: print(f”\033[0m”+msg) elif type==”debug”: print(f”\033[36m” + msg) #青色 logger.debug(msg....