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 details)
Built Distribution
File details
Details for the file mongo-py-logger-1.8.2.tar.gz
.
File metadata
- Download URL: mongo-py-logger-1.8.2.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d97f2b867a902eaa81f40f510afc785a6510df654450d99e21120c6066c531af |
|
MD5 | 5205c83a329b4d9ab6adc33bcaf2ce46 |
|
BLAKE2b-256 | 42ee22a7e61541991805294496e6a72d84ea78f5e3ca2d2d0b58cb305a4295e8 |
File details
Details for the file mongo_py_logger-1.8.2-py2.py3-none-any.whl
.
File metadata
- Download URL: mongo_py_logger-1.8.2-py2.py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53c9673ffe7a8bfb9d5b7422f4f0a86a865a4f49ccd5bda73ab223ca490152f2 |
|
MD5 | d689d206585370a9f19702f65cfd4232 |
|
BLAKE2b-256 | 8d964c591339b6b970fc598f7247441125225d5d7f556d1cdb7ef06cf7283242 |