def WARNING_MSG(*args): KBEngine.scriptLogType(KBEngine.LOG_TYPE_WAR) printMsg(args, True)
def ERROR_MSG(*args): KBEngine.scriptLogType(KBEngine.LOG_TYPE_ERR) printMsg(args, True)
def DEBUG_MSG(*args): if KBEngine.publish() == 0: KBEngine.scriptLogType(KBEngine.LOG_TYPE_DBG) printMsg(args, True)
def INFO_MSG(*args): KBEngine.scriptLogType(KBEngine.LOG_TYPE_INFO) printMsg(args, False)
def INFO_MSG(*args): if KBEngine.publish() <= 1: KBEngine.scriptLogType(KBEngine.LOG_TYPE_INFO) printMsg(args, False)
def TRACE_MSG(*args): KBEngine.scriptLogType(KBEngine.LOG_TYPE_NORMAL) printMsg(args, False)
def DEBUG_MSG(*args): if True: KBEngine.scriptLogType(KBEngine.LOG_TYPE_DBG) printMsg(args, True)