Skip to main content

Return a loglevel (10, 20, etc.) taking ENV LOGLEVEL into account

Project description

set-loglevel

pytestpythonCode style: blackLicense: MITPyPI version

Return a loglevel taking ENV LOGLEVEL into account

Install it

pip install set-loglevel
# poetry add set-loglevel
# git clone https://github.com/ffreemt/set-loglevel && cd set-loglevel

Use it

from set_loglevel import set_loglevel

set_loglevel()  # 10/20/etc

# or
set_loglevel(20, force=True)  # 20

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

set_loglevel-0.1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

set_loglevel-0.1.0-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

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