Skip to main content

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

MIT

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)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page