Return a loglevel (10, 20, etc.) taking ENV LOGLEVEL into account
Project description
set-loglevel
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
Release history Release notifications | RSS feed
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.1.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for set_loglevel-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 019e7cbb7ff1cb0eddd6f30e99f4514d964db140cb469b6d8d8a519134680527 |
|
MD5 | 571ba8d443e7d633fe271a713fb4f065 |
|
BLAKE2b-256 | d5419a84a85b8ae5378aaf25834589a48e45941fc8967114b7034159a9ce9cc8 |