Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Development logger for choo.
var log = require('choo-log')
var choo = require('choo')
var app = choo()
app.use(log())
app.mount('body')
logger = log(opts)
Create a new logger instance. Opts can contain:
true
. Disable calls to window.performance
timing
API. Timing calls will not run in browsers that don't support it out of the
box.true
. Disable clearing the
window.performance resourcetimingbuffer when full. Set to false
if
the buffer is cleared somewhere else.emitter.emit('log:<level>', msg)
Send a log event. choo-log
will pass log:<level>
events through to nanologger. For example:
emitter.emit('log:info', 'The rain in Spain stays mainly in the plain 🌧')
These are just normal events, so you can listen to them in addition to them being logged:
emitter.on('log:debug', function (msg) {
// do something with debug message
})
localStorage.setItem('logLevel', <level>)
Set the nanologger log level, e.g.:
localStorage.setItem('logLevel','debug')
$ npm install choo-log
FAQs
Development logger for choo
The npm package choo-log receives a total of 24 weekly downloads. As such, choo-log popularity was classified as not popular.
We found that choo-log demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 25 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.