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.

Files for lumber-cloud, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size lumber-cloud-0.0.4.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page