def setUpClass(cls) -> None:
        # stdio_handler = logging.StreamHandler()
        # stdio_handler.setLevel(logging.DEBUG)
        # stdio_handler.setFormatter(logging.Formatter("%(asctime)s %(levelname)s - %(module)s:%(lineno)s %(message)s"))
        async_logger = logging.getLogger('asyncio')
        # async_logger.addHandler(stdio_handler)
        async_logger.setLevel(logging.DEBUG)

        network_logger = logging.getLogger('neo3.network')
        # network_logger.addHandler(stdio_handler)
        network_logger.setLevel(logging.DEBUG)

        cls.nodemgr = convenience.NodeManager()
Beispiel #2
0
 def setUpClass(cls) -> None:
     network_logger = logging.getLogger('neo3.network')
     network_logger.setLevel(logging.DEBUG)
     stdio_handler = logging.StreamHandler()
     network_logger.addHandler(stdio_handler)