
Security News
Scaling Socket from Zero to 10,000+ Organizations
Socket CEO Feross Aboukhadijeh shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.
I wrote this logger to be simple to use and not feature rich. I needed something straightforward that doesn't require much thought when logging in node. Besides having a simple api, it colors the console output for readability.
There are four levels of logging that can be input, 'info', 'warn', 'error', and 'fatal' with corresponding levels of severity. 'fatal' will cause your program to exit.
var log = require('logi');
log('some text');
log('info', 'info fo yo friends');
log('warn', 'word of warning to your mother');
log('error', 'some error text as an ERROR, wont kill your program');
log({hello: 'world'});
log([0,1,2,3,4]);
log(123);
log({hello: 'world'}, 'hey everyone, come checkout my object as INFO!');
You can throw pretty much anything at logi and it will log it. The first argument can optionally be one of the logging levels.
Make sure you npm install, then run npm test.
FAQs
A minimalist console logger for node.
We found that logi 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
Socket CEO Feross Aboukhadijeh shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.

Research
Socket Threat Research maps a rare inside look at OtterCookie’s npm-Vercel-GitHub chain, adding 197 malicious packages and evidence of North Korean operators.

Research
Socket researchers identified a malicious Chrome extension that manipulates Raydium swaps to inject an undisclosed SOL transfer, quietly routing fees to an attacker wallet.