def test_mylogger(self): """mylogger """ print() with self.assertRaises(ValueError): CoreLog.debug("hey") CoreLog("debug") CoreLog.info("hey") CoreLog()._clear()
def test_mylogger_fatal(self): """debug setting """ print() CoreLog("fatal") CoreLog.debug("hey") CoreLog.verbose("hey") CoreLog.info("hey") CoreLog.warning("hey") CoreLog.error("hey") CoreLog.critical("hey") CoreLog()._clear()