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

mongopylogger-2.0.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mongopylogger-2.0.0-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mongopylogger-2.0.0.tar.gz.

File metadata

  • Download URL: mongopylogger-2.0.0.tar.gz
  • Upload date:
  • Size: 7.5 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

Hashes for mongopylogger-2.0.0.tar.gz
Algorithm Hash digest
SHA256 2bd2db906cf60ada8edd1407f247a50e5608d47b012a779a15a1827a9e680dbb
MD5 6f4cfc955d147406d53aa3d7df2db34f
BLAKE2b-256 21462b1b9c2042a57b73be5a2c1a08503a628c32939d04a6a04cc2053e42cd02

See more details on using hashes here.

File details

Details for the file mongopylogger-2.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: mongopylogger-2.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.2 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

Hashes for mongopylogger-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cf1b23e362fb4d353678adf8c26e42d6a995271c5ce1bb6c6219c3f5fb4e47fd
MD5 32b1e753b34f78c4263171c277778899
BLAKE2b-256 79aa8650c933284a09632a65095343c001faf4498dcc7bf23a8e386262fe493b

See more details on using hashes here.

Supported by

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