
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
lambda-log
Advanced tools
LambdaLog is a Node.js package facilitates and enforces logging standards in Node.js processes or applications anywhere by formatting your log messages as JSON for simple parsing and filtering within log management tools, such as CloudWatch Logs. Works with all of the supported versions of Node.js on Lambda.
Originally created for AWS Lambda Functions, LambdaLog is a lightweight and feature-rich library that has no dependency on AWS or Lambda, meaning you can use it in any type of Node.js project you wish. It's really a universal JSON logger.
Why another lambda logger? There are plenty of other logging libraries in the NPM ecosystem but most are convoluted, included more functionality than needed, not maintained, or are not configurable enough. I created LambdaLog to include the important functionality from other loggers, but still maintaining simplicity with minimal dependencies.
Anyone can log JSON to the console, but with Lambda Log you also get:
Version 3.0.0 of Lambda Log brings a bunch of changes, new features, and a new website.
Broad Changes:
New Features:
levelKey configuration option to be able to change the key name for log levels.messageKey configuration option to be able to change the key name for log messages.tagsKey configuration option to be able to change the key name for tags.addLevel() method to quickly add a custom log level to an instance of LambdaLog.null, undefined or "" are now removed from the tags array.Error objects are now automatically converted to a plain object.Breaking Changes:
Documentation for Lambda Log has moved to our new website.
See Development Documentation.
See Contributing Documentation.
MIT License. See License in the repository.
Thanks goes to these wonderful people (emoji key):
Kyle Ross 💻 📖 🚧 | Jonathan Goldwasser 💻 🐛 | Gabriel 🤔 | sh1n1chi8acker 🐛 | Matt Nagi 📖 | nickcox 📖 | Tim Schmidt 💻 |
Marius Tolzmann 🐛 | AndresQ 🤔 | Mike Fogel 🤔 |
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
Lightweight logging library for any Node 10+ applications
The npm package lambda-log receives a total of 61,152 weekly downloads. As such, lambda-log popularity was classified as popular.
We found that lambda-log demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.