Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
lambda-log
Advanced tools
A Node.js package to facilitate and enforce logging standards from processes and applications running within Lambda Functions, various AWS Services, and wherever JSON logs are desired. Lambda Log formats your log messages as JSON for simple parsing and filtering within tools such as CloudWatch Logs. Supports Node 10+.
This module is not just for Lambda! You can use this is many different environments that support reading JSON from logs. While the name remains
lambda-log
, it's really a universal JSON logger.
Why another lambda logger? There are others out there, but seemed to be convoluted, included more functionality than needed, not maintained, or not configurable enough. I created lambda-log to include the important functionality from other loggers, but still keeping it simple 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.
3.0.0 (2021-04-12)
.npmignore
file to help reduce the size of the package (c21bd7f).npmignore
file to help reduce the size of the package (9ccdc69)addLevel()
to LambdaLog (9fde2e3)addLevel()
to LambdaLog (f7dbfd0)levelKey
, messageKey
, and tagsKey
(bb5ba70)levelKey
, messageKey
, and tagsKey
(4d10968)message.tags
is no longer a property of the LogMessage class that can be directly changed.{}
.LogMessage.symbols
.LambdaLog.symbols
.FAQs
Lightweight logging library for any Node 10+ applications
The npm package lambda-log receives a total of 9,610 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.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.