Example #1
0
    def test_mylogger(self):
        """mylogger

        """
        print()
        with self.assertRaises(ValueError):
            CoreLog.debug("hey")
        CoreLog("debug")
        CoreLog.info("hey")
        CoreLog()._clear()
Example #2
0
    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()