Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
A beautiful and minimal logger for all applications
This module requires an Active LTS Node version (v18+).
Using npm:
npm install @dot/log --save
Create a new logger and use it to log something wild:
import { log } from '@dot/log';
log.info('Jingle Bells, Batman Smells');
log.warn('Robin laid an egg');
log.error('The Batmobile lost a wheel');
log.debug('And the Joker got away');
And there will appear magic in your console
To name the log pass the name in the getLog options:
const log = getLog({ name: 'batman' });
When logging an object the nesting can be only one level deep. If the nesting level of the object exceeds one level then a RangeError exception will be thrown.
By default, each log instance is set to the 'info'
level. The log level can be set one of two ways:
import { log } from '@dot/log';
log.level = 'debug'; // change from the default 'info' level
DOT_LOG_LEVEL
environment variable:DOT_LOG_LEVEL=debug
FAQs
A beautiful and minimal logger for all applications
The npm package @dot/log receives a total of 20,332 weekly downloads. As such, @dot/log popularity was classified as popular.
We found that @dot/log demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.