import os
import logging
logger = logging.getLogger('hidtools')
# If HID_DEBUG is set, set the base logger to verbose, triggering all child
# loggers to become verbose too.
if os.environ.get('HID_DEBUG', False):
    logger.setLevel(logging.DEBUG)
