Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@bonniernews/exp-logger
Advanced tools
Simple logger package to unify how logging is done with (configurable) remapping
logLevel // defaults to info
mixin // pino mixins, passed down to pino as is
shouldPrettyPrint // defaults to false
severityLabels // replace or add label mappings, [ {label: "oldKey", newLabel: "newKey"}]
logLocation // location of the test log
setDestination // default is false, set this to true to log to logLocation
const logger = require('@bonniernews/exp-logger')({
shouldPrettyPrint: process.NODE_ENV === "development",
severityLabels: [ {label: "info", newLabel: "foo" }]
})
logger.info("Hello world")
/*
-- expected output
[15:19:13.240] INFO:
severity: "foo"
message: "Hello world"
*/
FAQs
Simple bootstrapping of pino logger
The npm package @bonniernews/exp-logger receives a total of 97 weekly downloads. As such, @bonniernews/exp-logger popularity was classified as not popular.
We found that @bonniernews/exp-logger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.