How to Solve NameError: name 'Logs' is not defined -- waflib

Solution: Import the 'Logs' module

# Add the following line to the top of your code
from waflib import Logs

 

For more information:
waflib Logs