Metadata-Version: 2.1
Name: queue-logger
Version: 0.0.3
Summary: Python logger with custom handler for rabbitmq
Author-email: Amirreza Taherkhani <amirrezataherkhaani@gmail.com>
Project-URL: Homepage, https://github.com/Visapick-Team/QLGR
Project-URL: Issues, https://github.com/Visapick-Team/QLGR/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pika==1.3.2

Set following Environment variables: \
`QUEUE_HOST=QUEUE_BROKER_HOST` \
`QUEUE_PORT=QUEUE_BROKER_PORT` \
`QUEUE_USER=QUEUE_BROKER_USER` \
`QUEUE_PASS=QUEUE_BROKER_PASS`

```python
import logging
from QLGR import create_logger


logger = create_logger(__name__, logging.NOTSET)
logger.info('This is an informational message.')
logger.error('This is an error message.')
```

Check your message broker (rabbitmq in this case), there must be 2 messages on `logs` queue.
