Skip to main content

LogOptionsArgumentParser: add --debug and --quiet options with std logging module.

Project description

Provides a LogOptionsArgumentParser subclass of argparse.ArgumentParser which adds the --quiet / -q and --debug options. Additionally it initializes the logging module, by default to the INFO log level, or to WARN or DEBUG if the respective verbosity options are given.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

loap-0.1.tar.gz (3.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page