Metadata-Version: 2.1
Name: guvicorn-logger
Version: 0.1.4
Summary: Colored, normalizes and joins logs between Uvicorn and Gunicorn.
Home-page: https://github.com/carlos-rian/guvicorn_logger
License: MIT
Keywords: gunicorn,uvicorn,logs,logging
Author: carlos.rian
Author-email: crian.rian@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: gunicorn (>=20.1.0,<21.0.0)
Requires-Dist: uvicorn (>=0.17.5,<0.18.0)
Project-URL: Repository, https://github.com/carlos-rian/guvicorn_logger
Description-Content-Type: text/markdown

## Guvicorn_logger

This lib colored, normalizes and joins logs between Uvicorn and Gunicorn.
There is a common problem when using Uvicorn for Dev and Gunicorn for Prod, 
normally the logs generated by Uvicorn wokers are not captured by Gunicorn.

This lib facilitates this configuration...

#### Easy config
```python
from guvicorn_logger import Logger

logger = Logger().configure()
```

#### Example

```python
logger.info("Information")
logger.error("Error")
logger.warning("Warning")
logger.critical("Critical")
```
#### Output

- Python File
![alt text](/docs/img/normal.JPG)

- Framework (Uvicorn, Gunicorn, Fastapi)
![alt text](/docs/img/framework-web.JPG)
