Esempio n. 1
0
 def flush(logger=ALL_LOGGER):
     loggerObj = ainst_logging.getLogger(logger)
     if not loggerObj:
         return False
     return loggerObj.flush()
Esempio n. 2
0
 def coutLabel(level, label, logger=ALL_LOGGER):
     content = Log._getLableLine(label)
     loggerObj = ainst_logging.getLogger(logger)
     if not loggerObj:
         return None
     loggerObj.log(level, content)
Esempio n. 3
0
 def coutValueList(level, keyValueList, logger=ALL_LOGGER):
     content = Log._getValueLines(keyValueList)
     loggerObj = ainst_logging.getLogger(logger)
     if not loggerObj:
         return None
     loggerObj.log(level, content)
Esempio n. 4
0
 def cout(level, content, logger=ALL_LOGGER):
     loggerObj = ainst_logging.getLogger(logger)
     if not loggerObj:
         return None
     loggerObj.log(level, content)