Middleware for alpha-lambda that adds Bunyan logging to the AWS Lambda context object. Version 1.5.0 is stable; no recent releases. It injects `context.log` and `context.child` methods based on Bunyan, with automatic inclusion of request ID and function version. Unlike other logging libraries, it integrates tightly with alpha-lambda's middleware pipeline and supports custom serializers and level configuration via environment variables.
npm install alpha-lambda-bunyanNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Set up alpha-lambda handler with Bunyan logging middleware, demonstrating context.log and context.child usage.
Use context.log.info('message') or context.log({}, 'message') for object logging.Use refProps option to mark properties that should be shallow copied instead.
Override serializers option with your own if you need different error serialization.
Clear LOG_LEVEL env or set options.level explicitly to override.
Change import statement to const bunyan = require('alpha-lambda-bunyan');Run npm install alpha-lambda-bunyan and verify package.json.
Ensure bunyan() middleware is used before handlers that call context.child.
No dependency data recorded yet.