A couple of fixes/ improvements to the annotation graph fetcher, and allows pymaid to respect the NAVIS_SKIP_LOG_SETUP environment variable.
The recommendation for loggers is to use logging.getLogger(__name__) so that users can see and control where logs are coming from. Pymaid now does this if NAVIS_SKIP... is set, but defaults to the current look otherwise. New uses of logging should use logger = config.get_logger(__name__) rather than logger = config.logger. I intend to upstream this pattern to navis too.
A couple of fixes/ improvements to the annotation graph fetcher, and allows pymaid to respect the NAVIS_SKIP_LOG_SETUP environment variable.
The recommendation for loggers is to use
logging.getLogger(__name__)
so that users can see and control where logs are coming from. Pymaid now does this if NAVIS_SKIP... is set, but defaults to the current look otherwise. New uses of logging should uselogger = config.get_logger(__name__)
rather thanlogger = config.logger
. I intend to upstream this pattern to navis too.