Logger for python, with MongoHandler.
Project description
# mongo-py-logger
Python logger based on logging with mongoDB handle.
Example:
```python
from mongo_py_logger.logger import *
logger = MongoLogger(
'MONGODB_CONNECTION_STRING', cert_pth='path/to/client.pem',
collection_name='name_of_my_collection',
name='my_logger',
additional_field = "my_additional_data")
```
Python logger based on logging with mongoDB handle.
Example:
```python
from mongo_py_logger.logger import *
logger = MongoLogger(
'MONGODB_CONNECTION_STRING', cert_pth='path/to/client.pem',
collection_name='name_of_my_collection',
name='my_logger',
additional_field = "my_additional_data")
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mongo-py-logger-1.8.1.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for mongo_py_logger-1.8.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e6ee3578c924f336dd2c3609199dbae5ee737177556f0d5713d5cf464827ff9 |
|
MD5 | 2e83845f6feb2d8bd53a5274d81dba96 |
|
BLAKE2b-256 | 7ea8b6870369e7df86a8e7bd8c2d37d592546d834701109c324f8017545820d8 |