def debug(self, defn, args, kwargs, fmt=None, color='<STR_LIT>'):
ta = datetime.datetime.now()<EOL>rs = defn(*args, **kwargs)  <EOL>tb = datetime.datetime.now() - ta<EOL>fmt = fmt or "<STR_LIT>"<EOL>logmsg = fmt.format(ms=tb.microseconds/<NUM_LIT>, defn=defn)<EOL>"<STR_LIT>"<EOL>print(cl(logmsg, color))<EOL>"<STR_LIT>"<EOL>logging.debug(logmsg)<EOL>return rs<EOL>
debug timing, colored terminal output