You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What:
- accept `logging.NOTSET` as a loglevel
- if you do not to see logs for a particular task/s, you can now do;
```python
class AdderTask(wiji.task.Task):
the_broker = wiji.broker.InMemoryBroker()
queue_name = "AdderTask"
loglevel = "NOTSET"
async def run(self, a, b):
return a + b
```
Why:
- Updates: #72
What:
- accept `logging.NOTSET` as a loglevel
- if you do not want to see logs for a particular task/s, you can now do;
```python
class AdderTask(wiji.task.Task):
the_broker = wiji.broker.InMemoryBroker()
queue_name = "AdderTask"
loglevel = "NOTSET"
async def run(self, a, b):
return a + b
```
Why:
- Updates: #72
While we are at it we should
NOTSET
as a debug level;wiji/wiji/task.py
Line 332 in dd5308f
Python[1] allows these levels:
They are the same ones we should allow
The text was updated successfully, but these errors were encountered: