lumber-cloud

A Python package for cloud logging


Keywords
LUMBER, LOGGING, LOG, CLOUD, OUTPUT
License
MIT
Install
pip install lumber-cloud==0.0.2

Documentation

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