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.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

set_loglevel-0.1.2-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file set_loglevel-0.1.2.tar.gz.

File metadata

  • Download URL: set_loglevel-0.1.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.2 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/1.4.0 colorama/0.4.4 CPython/3.8.5

File hashes

Hashes for set_loglevel-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4da23414a798cea918801b113e17af092f13ccda96345203b14042b6d6d3a896
MD5 24cf67f672ba6488b1a23ce85703920a
BLAKE2b-256 f6e13a4acc02ad295f847db511b98dd9895d63d76377e956df8a15e5687bd148

See more details on using hashes here.

File details

Details for the file set_loglevel-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: set_loglevel-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.2 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/1.4.0 colorama/0.4.4 CPython/3.8.5

File hashes

Hashes for set_loglevel-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fcfe76ccd3791511e2cb51ec11ded6cc2186a727e441a934c547a211d0fdf773
MD5 7d2c64a1fd723d2b01a5f9684cca421f
BLAKE2b-256 9ac93bdd02a3050442ccc8cb4d999103e280686322669173555654ab1695a037

See more details on using hashes here.

Supported by

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