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.1.tar.gz
(7.6 kB
view details)
Built Distribution
File details
Details for the file mongo-py-logger-1.8.1.tar.gz
.
File metadata
- Download URL: mongo-py-logger-1.8.1.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 | 2d6d3a22e3aa67dfb7a3da3bf9a52b13129095773c817ec805d3c12dbae9680c |
|
MD5 | 632a9e5a8765522fa8538b336efa71bd |
|
BLAKE2b-256 | 93991f5bedcbfb0cc8c7a38d7cf7a4856eb5309f77e52c7c0e5bb6beb66b98d8 |
File details
Details for the file mongo_py_logger-1.8.1-py2.py3-none-any.whl
.
File metadata
- Download URL: mongo_py_logger-1.8.1-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 | 7e6ee3578c924f336dd2c3609199dbae5ee737177556f0d5713d5cf464827ff9 |
|
MD5 | 2e83845f6feb2d8bd53a5274d81dba96 |
|
BLAKE2b-256 | 7ea8b6870369e7df86a8e7bd8c2d37d592546d834701109c324f8017545820d8 |