How to use the iroha.helper.logger.setDebug function in iroha

To help you get started, we’ve selected a few iroha examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hyperledger / iroha-python / tests / query / test_query.py View on Github external
def setUp(self):
        logger.setDebug()
        logger.debug("QueryTest")
github hyperledger / iroha-python / tests / test_creator.py View on Github external
def setUp(self):
        logger.setDebug()
        logger.info("CreatorTest")
github hyperledger / iroha-python / tests / helper / test_stateless_validator.py View on Github external
def setUp(self):
        self.creator = "chika@ichigo.mashimaro"
        self.keypair = crypto.create_key_pair()
        self.tx_counter = 0
        logger.setDebug()
github hyperledger / iroha-python / tests / primitive / test_amount.py View on Github external
def test_amount_changer(self):
        logger.info("test_amount_changer")
        logger.setDebug()


        logger.debug(10000000000000000000*100000000000000000000 + 1000)

        num = int(3121092321831273291731287318721973219)
        amnt = amount.int2amount(num, 2)
        logger.debug(amnt)
        re_num = amount.amount2int(amnt)
        self.assertEqual(num,re_num)
github hyperledger / iroha-python / tests / primitive / test_signatories.py View on Github external
def setUp(self):
        logger.setDebug()
        logger.debug("PrimitiveTest")
github hyperledger / iroha-python / tests / transaction / test_command.py View on Github external
def setUp(self):
        logger.setDebug()
        logger.debug("CommandTest")
        self.keypair = crypto.create_key_pair()
github hyperledger / iroha-python / tests / transaction / test_transaction.py View on Github external
def setUp(self):
        logger.setDebug()
        logger.debug("TransactionTest")
github hyperledger / iroha-python / iroha / __init__.py View on Github external
def setDebugLog():
    """
    Set Debug Output Level : Debug ( means many debug message )
    """
    logger.setDebug()
def setInfoLog():