Skip to content

Commit

Permalink
Update Python.md
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle authored Apr 21, 2024
1 parent cfba694 commit e7f30c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Python.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ Logging level can be controlled by using the `logging` module
```python
import logging
logging.basicConfig()
logging.getLogger('rookie').setLevel(logging.DEBUG)
logging.getLogger().setLevel(logging.DEBUG)
```

To fully disable `rookiepy` logging you can set the level to `CRITICAL`

```python
import logging
logging.getLogger('rookie').setLevel(logging.CRITICAL)
logging.getLogger().setLevel(logging.CRITICAL)
```

0 comments on commit e7f30c2

Please sign in to comment.