Return a loglevel taking ENV LOGLEVEL into account
pip install set-loglevel
# poetry add set-loglevel
# git clone https://github.com/ffreemt/set-loglevel && cd set-loglevel
from set_loglevel import set_loglevel
set_loglevel() # 10/20/etc
# or
set_loglevel(20, force=True) # 20