Beispiel #1
0
 def flush(logger=ALL_LOGGER):
     loggerObj = ainst_logging.getLogger(logger)
     if not loggerObj:
         return False
     return loggerObj.flush()
Beispiel #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)
Beispiel #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)
Beispiel #4
0
 def cout(level, content, logger=ALL_LOGGER):
     loggerObj = ainst_logging.getLogger(logger)
     if not loggerObj:
         return None
     loggerObj.log(level, content)