# -*- coding:utf-8 -*- import os, sys, time from ssat_sdk.utils.LoggingUtil import printLog TAG = "UATree:" DEBUG = True # 上传SVN时注意将此参数设置为False INFO = True ERROR = True def debug(cls, fun, msg, enable): if DEBUG and enable: pstr = "Debug:" + TAG + cls + "[" + fun + "]" + msg printLog(pstr) def info(cls, fun, msg, enable): if INFO and enable: pstr = "Info:" + TAG + cls + "[" + fun + "]" + msg printLog(pstr) def error(cls, fun, msg, enable): if ERROR and enable: pstr = "Error:" + TAG + cls + "[" + fun + "]" + msg printLog(pstr)