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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mongopylogger-2.0.0.tar.gz
(7.5 kB
view hashes)
Built Distribution
Close
Hashes for mongopylogger-2.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf1b23e362fb4d353678adf8c26e42d6a995271c5ce1bb6c6219c3f5fb4e47fd |
|
MD5 | 32b1e753b34f78c4263171c277778899 |
|
BLAKE2b-256 | 79aa8650c933284a09632a65095343c001faf4498dcc7bf23a8e386262fe493b |