
Security News
Security Community Slams MIT-linked Report Claiming AI Powers 80% of Ransomware
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.
@workpop/simple-logger
Advanced tools
Dead simple logging utility for node.
import Logger from '@workpop/simple-logger';
// create a logger with a category
const logger = new Logger('MYAPP');
logger.info('important information', 'and more');
// to stdout
// 2018-02-08T15:47:45-08:00 INFO [MYAPP] important information and more
logger.warn('some warning occurred')
// to stdout
// 2018-02-08T15:47:45-08:00 WARN [MYAPP] some warning occurred
logger.trace('something not very significant occurred');
// to stdout
// 2018-02-08T15:47:45-08:00 INFO [MYAPP] something not very significant occurred
logger.error('oh no!', new Error());
// stderr
// 2018-02-08T15:56:30-08:00 ERROR [MYAPP] oh no! Error
//   at repl:1:19
//   at ContextifyScript.Script.runInThisContext (vm.js:50:33)
//   at REPLServer.defaultEval (repl.js:240:29)
//   at bound (domain.js:301:14)
//   at REPLServer.runBound [as eval] (domain.js:314:12)
//   at REPLServer.onLine (repl.js:468:10)
//   at emitOne (events.js:121:20)
//   at REPLServer.emit (events.js:211:7)
//   at REPLServer.Interface._onLine (readline.js:282:10)
//   at REPLServer.Interface._line (readline.js:631:8)
You can globally enable / disable ALL logger instances as follows:
import Logger from '@workpop/simple-logger';
const logger = new Logger('MYAPP');
Logger.disable();
logger.info('something');
// nothing logged to stdout
Logger.enable();
logger.info('something else');
// logged to stdout:
// 2018-02-08T15:47:45-08:00 INFO [MYAPP] something else
FAQs
Simple console logger
The npm package @workpop/simple-logger receives a total of 0 weekly downloads. As such, @workpop/simple-logger popularity was classified as not popular.
We found that @workpop/simple-logger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.