Simple and visually consistent logger for AWS Lambda
Project description
Lambo
Simple and visually pleasing logger for AWS Lambda.
Installation
pip install lambo
Usage
import lambo
logger = lambo.getLogger(__name__)
logger.info('COLD START, NO REQUEST ID')
@logger.attach()
def handler(event, context):
logger.info('HELLO!')
return {'ok': True}
Yields…
INFO - COLD START, NO REQUEST ID
INFO RequestId: … EVENT {"fizz": "buzz"}
INFO RequestId: … TEST
INFO RequestId: … RETURN {"ok": true}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lambo-0.1.1.tar.gz
(14.3 kB
view hashes)