komuw / wiji

Wiji is an asyncio distributed task processor/queue.
MIT License
4 stars 1 forks source link

ability for app devs to turn off logs #72

Open komuw opened 5 years ago

komuw commented 5 years ago

While we are at it we should NOTSET as a debug level; https://github.com/komuw/wiji/blob/dd5308fa439755cdc7054f124fff2b0601b9f90a/wiji/task.py#L332

Python[1] allows these levels:

CRITICAL 
ERROR 
WARNING 
INFO 
DEBUG 
NOTSET

They are the same ones we should allow

  1. https://docs.python.org/3/library/logging.html#logging-levels