featherweight.log¶
log ¶
Logging setup. Libraries log through logging.getLogger(__name__); entry points call setup_logging.
setup_logging ¶
setup_logging(level: str | int | None = None) -> Logger
Send featherweight.* logs to stdout as plain text. Safe to call more than once.
Level comes from the argument, else FTW_LOG_LEVEL (empty counts as not set), else INFO.