
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
lambda-monitor-logger
Advanced tools
Logging designed to be used with lambda-monitor
Install with npm:
$ npm install --save lambda-monitor-logger
import { logger, abbrev } from 'lambda-monitor-logger';
logger.error('Keyboard not found. Press F1 to Resume');
// => ERROR: Keyboard not found. Press F1 to Resume
logger.error(abbrev('some really long text'));
// => ERROR: some ... test
This logger will simply log to console and prefix with the debug level.
The available levels are: debug
, info
, warning
, error
, critical
.
Synonyms like warn
are available and the mapping can be found in the source code.
The log level can be set through the environment variable LOG_LEVEL
(defaults to DEBUG
).
Log messages below the currently set log level are completely ignored.
Type: boolean
Default: true
When set to true, line breaks are stripped.
Type: integer
Default: 512
The maximum output length.
Type: Array
Default: []
Input needs to be of format [[<STRING|REGEX>, <STRING|FUNCTION>], ...]
Allow custom replacement rules
FAQs
Logging designed to be used with lambda-monitor
The npm package lambda-monitor-logger receives a total of 488 weekly downloads. As such, lambda-monitor-logger popularity was classified as not popular.
We found that lambda-monitor-logger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.