def __debug(self, *args): entry = (datetime.now().strftime('%H:%M:%S.%f'), ) + args while len(self.__console) > 40: del self.__console[0] if len(self.__console) == 0 or entry[1] != self.__console[-1][1]: self.__console.append(entry) LOG_DEBUG(*args)
def init(): LOG_DEBUG('init') g_loggerTracking.init()
def onAvatarBecomePlayerdef(): LOG_DEBUG('onAvatarBecomePlayerdef')
def onAccountShowGUI(ctx): LOG_DEBUG('onAccountShowGUI', ctx)
def onAccountBecomePlayer(): LOG_DEBUG('onAccountBecomePlayer')
def fini(): LOG_DEBUG('fini') g_loggerTracking.fini()