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 hashes)