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.6.0.tar.gz
(7.5 kB
view details)
Built Distribution
File details
Details for the file mongo-py-logger-1.6.0.tar.gz
.
File metadata
- Download URL: mongo-py-logger-1.6.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 158cedca76fe448b479c0c204910b908c9ee03ad99c3f9576d22af8a429e7367 |
|
MD5 | 556f4bc273fbef5ecfe4a9d059ce4e01 |
|
BLAKE2b-256 | 7e46358b66f1e32aa0fbb19984e06216a4b9538752ba99548428d418ad969727 |
File details
Details for the file mongo_py_logger-1.6.0-py2.py3-none-any.whl
.
File metadata
- Download URL: mongo_py_logger-1.6.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5e7e0c5428ce6659bb45439de2d2dee9ead4715694ca7848fe7baa6e5f97629 |
|
MD5 | 56b03a0af85a55ed1cd8bf169e8d4014 |
|
BLAKE2b-256 | 60243dddeee98aeee5cefa82a6dd170e2aef466cc925d3545c0290152305fb98 |