Skip to content

jaraco/jaraco.logging

Repository files navigation

tests Ruff https://readthedocs.org/projects/jaracologging/badge/?version=latest https://img.shields.io/badge/skeleton-2024-informational

Argument Parsing

Quickly solicit log level info from command-line parameters:

parser = argparse.ArgumentParser()
jaraco.logging.add_arguments(parser)
args = parser.parse_args()
jaraco.logging.setup(args)