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.
bunyanesque
Advanced tools
A small modification of the bunyan logging library.
The differences are:
log()
methodlog()
is an alias for log.info()
.
var log = require('bunyanesque').createLogger();
// These are equivalent:
log('Message');
log.info('Message');
log(message, object)
is allowable.
// These are equivalent:
log.info('Message', {a: 123});
log.info({a: 123}, 'Message');
Errors can be passed directly (log( new Error('It went pear-shaped') )
) rather than under an err
attribute (log( { err: new Error('It went pear-shaped') } )
).
Errors (instances of the Error
constructor) are automatically moved to under an err
attribute. So they can then be rendered nicely by bunyan's standard serializer.
All other bunyan
features, aside from .child()
are not supported.
Use npm test
to run the tests. Use npm run cover
to check coverage.
See changelog.md
If you discover a bug, please raise an issue on Github. https://github.com/overlookmotel/bunyanesque/issues
Pull requests are very welcome. Please:
0.2.1
stdSerializers
from bunyan
FAQs
bunyan logger with a few tweaks
The npm package bunyanesque receives a total of 0 weekly downloads. As such, bunyanesque popularity was classified as not popular.
We found that bunyanesque 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
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.