Skip to main content

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")
```

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.7.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

mongo_py_logger-1.7.0-py2.py3-none-any.whl (8.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mongo-py-logger-1.7.0.tar.gz.

File metadata

  • Download URL: mongo-py-logger-1.7.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

Hashes for mongo-py-logger-1.7.0.tar.gz
Algorithm Hash digest
SHA256 9828c784057956127de0145cd369662563f75848a616908da5d964a711e8b3be
MD5 ac3299775e434c0d7f6c2d8da84c3874
BLAKE2b-256 4c1206b7557f5af8fa68deaff36425bcb9484b1b872d7f8c5bf104977c582802

See more details on using hashes here.

File details

Details for the file mongo_py_logger-1.7.0-py2.py3-none-any.whl.

File metadata

  • Download URL: mongo_py_logger-1.7.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

Hashes for mongo_py_logger-1.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c940351f63076beb5edc156b8317c9160eee328795861af6835ff6a49b43d837
MD5 7dc6dd0442ec8fe38abf24de78a19b5c
BLAKE2b-256 7262b9142cc3d3e93bf81e3420b03e3645a4bce0967e6912c823fc5f0336b5ca

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page