Closed
Description
According to the Documentation using the NOTSET attribute should prevent printing of log records. It does not.
I am using Circuit Python 7.3.1 and adafruit_logging version 4.1.1 on a Raspberry PI Pico.
Here is my code:
import adafruit_logging as logging
logger = logging.getLogger("test")
print_logger = logging.StreamHandler()
logger.addHandler(print_logger)
logger.setLevel(logging.NOTSET)
logger.info("Info message\n")
logger.error("Error message\n")
Metadata
Metadata
Assignees
Labels
No labels