https://github.com/joegasewicz/bobtail-logger
Logging middleware for Bobtail
https://github.com/joegasewicz/bobtail-logger
Last synced: 6 months ago
JSON representation
Logging middleware for Bobtail
- Host: GitHub
- URL: https://github.com/joegasewicz/bobtail-logger
- Owner: joegasewicz
- License: mit
- Created: 2022-11-11T22:45:15.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-13T17:22:57.000Z (almost 3 years ago)
- Last Synced: 2025-03-12T20:18:05.120Z (7 months ago)
- Language: Python
- Size: 12.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/joegasewicz/bobtail-logger/actions/workflows/python-package.yml)
[](https://github.com/joegasewicz/bobtail-logger/actions/workflows/python-publish.yml)
# Bobtail Logger
Logging middleware for Bobtail### Install
```
pip install bobtail-logger
```### Usage
```python
### Usage
```python
from bobtail_logger import BobtailLoggerapp = Bobtail(routes=routes)
app.use(BobtailLogger())```
Colors
```python
from bobtail_logger import BobtailLogger, Colorsb = BobtailLogger(colors={"color": Colors.RED})
# Errors will always be displayed in `Color.RED`
```