How to Solve NameError: name 'logger' is not defined -- txclib

Solution: Import the 'logger' module

# Add the following line to the top of your code
from txclib.log import logger

 

For more information:
txclib logger