feat: update README, add install section

This commit is contained in:
cătălin 2023-10-02 22:57:20 +02:00
commit 4054f62e44
Signed by: catalin
GPG key ID: 686088EF78EE4083
2 changed files with 6 additions and 2 deletions

View file

@ -8,6 +8,12 @@
Async-compatible, dependency-less, simple log suppression and filtering lib
## Install
```shell
pip install shushlog
```
## TLDR
- supress all logs
@ -21,7 +27,6 @@ Async-compatible, dependency-less, simple log suppression and filtering lib
>>> @shush.suppress
>>> def suppressed_func():
>>> logger.info("this should not be logged")
>>> @shush.suppress
>>> def normal_func():
>>> logger.info("this should be logged")
>>> suppressed_func()

View file

@ -15,7 +15,6 @@ def suppress(func):
>>> @shush.suppress
>>> def suppressed_func():
>>> logger.info("this should not be logged")
>>> @shush.suppress
>>> def normal_func():
>>> logger.info("this should be logged")
>>> suppressed_func()