
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
Console provides methods debug, info, warn, and error to log messages with different
severity levels.
(message: string, ...values: any[], attributes?: object) => void
Messages are formatted using
util.format and writes a structured
message to stdout or stderr.
The last argument can be an object with additional attributes to be included in the log entry.
Log entry format:
time: string # ISO 8601 timestamp
severity: string # DEBUG, INFO, WARN, ERROR
message: string
attributes: object
context: object # context passed to the constructor
const console = new Console({ context: 'my-app' })
console.info('Hello, %s!', 'world', { foo: 'bar' })
/*
severity: info
context: my-app
time: 2020-01-01T00:00:00.000Z
message: Hello, world!
attributes:
foo: bar
*/
import { console } from 'openspan'
console.configure({ level: 'warn' })
console.info('ingnored')
FAQs
OpenTelemetry tools
The npm package openspan receives a total of 2,072 weekly downloads. As such, openspan popularity was classified as popular.
We found that openspan 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.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.