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.7.0.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for mongo_py_logger-1.7.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c940351f63076beb5edc156b8317c9160eee328795861af6835ff6a49b43d837 |
|
MD5 | 7dc6dd0442ec8fe38abf24de78a19b5c |
|
BLAKE2b-256 | 7262b9142cc3d3e93bf81e3420b03e3645a4bce0967e6912c823fc5f0336b5ca |