[docs]classLogLevel(IntEnum):"""Log level enum."""NOTSET=0# same as logging.NOTSET"""When set on a logger, indicates that ancestor loggers are to be consulted to determine the effective level. If that still resolves to NOTSET, then all events are logged. When set on a handler, all events are handled. """SPAM=5"""Custom level for spam messages."""DEBUG=10# same as logging.DEBUG"""Detailed information, typically only of interest to a developer trying to diagnose a problem."""VERBOSE=15"""Custom level between INFO and DEBUG. Useful where some additional information might be desirable but does not cause full information dumps everywhere. """INFO=20# same as logging.INFO"""Confirmation that things are working as expected. This is the *default* level most things will want to set at. """NOTICE=25"""Custom level situated between INFO and WARNING to draw attention without raising concern."""WARNING=30# same as logging.WARNING"""An indication that something unexpected happened, or that a problem might occur in the near future (e.g. disk space low). The software is still working as expected. """SUCCESS=35"""Custom log level used when something good happens."""ERROR=40# same as logging.ERROR"""Due to a more serious problem, the software has not been able to perform some function."""CRITICAL=50# same as logging.CRITICAL | logging.FATAL"""A serious error, indicating that the program itself may be unable to continue running."""FATAL=50# same as logging.CRITICAL | logging.FATAL"""A serious error, indicating that the program itself may be unable to continue running."""