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.0.tar.gz
(7.6 kB
view details)
Built Distribution
File details
Details for the file mongo-py-logger-1.8.0.tar.gz
.
File metadata
- Download URL: mongo-py-logger-1.8.0.tar.gz
- Upload date:
- Size: 7.6 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 | 479b55be3d0fc95885947fe1c33a5b20c453fd54b88cce543ccc8a21ba9c171f |
|
MD5 | c4a532419d70625c71e2480abc623d0d |
|
BLAKE2b-256 | 4cc8707015a9a595927b94384beffaac552cc5460d9580e2a073258a82fbd72c |
File details
Details for the file mongo_py_logger-1.8.0-py2.py3-none-any.whl
.
File metadata
- Download URL: mongo_py_logger-1.8.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 | 1ead80027a4e93c69bb5d6fc33b2abdc14fe2b6b9f41641575381833a4a58947 |
|
MD5 | af2348e349196d49bc73aeb7893522c0 |
|
BLAKE2b-256 | d243455a42a821f6bf8be5bfbbc70918810f5471ab886145ee644d3dce9dbf5e |