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.2.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for mongo_py_logger-1.8.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53c9673ffe7a8bfb9d5b7422f4f0a86a865a4f49ccd5bda73ab223ca490152f2 |
|
MD5 | d689d206585370a9f19702f65cfd4232 |
|
BLAKE2b-256 | 8d964c591339b6b970fc598f7247441125225d5d7f556d1cdb7ef06cf7283242 |