A Python package for cloud logging
Project description
Lumber-Cloud
Lumber is a cloud service for logs
Installation
Use the package manager pip3 to install lumber-cloud.
pip install lumber-cloud
Usage
Import the lumber_cloud module and initialize it with your app token.
from lumber_cloud import Lumber
lumber = Lumber('your_app_token')
Create some logs with one of six levels.
lumber.info('info')
lumber.debug('debug')
lumber.verbose('verbose')
lumber.warning('warning')
lumber.error('error')
lumber.critical('critical')
Optionally send stringified 'code' to any of the lumber methods.
lumber.info('info', json.dumps({ key: 'value' }, null, 2))
License
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
lumber-cloud-0.0.4.tar.gz
(2.6 kB
view details)
File details
Details for the file lumber-cloud-0.0.4.tar.gz
.
File metadata
- Download URL: lumber-cloud-0.0.4.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8046137509564513822c6dc530b84838723bb6bf864ba0b276edf264064a06c |
|
MD5 | 304d0d1850ac80bb80fdb5c6192c34d1 |
|
BLAKE2b-256 | 5dc24e7c423bd3c5aea5d932e11d85e9162b8c11975d4112df738bcdb0d85b9a |