
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
bunyan-console-stream
Advanced tools
Logs bunyan message text to STDOUT.
Output is directed to STDERR if a message's level ("fatal" (60), "error" (50), "warn" (40), "info" (30), "debug" (20), "trace" (10))
is greater or equals the value set by option stderrThreshold
:
var bunyan = require('bunyan');
var consoleStream = require('bunyan-console-stream');
// ...
var stream_options = {
stderrThreshold:40 //log warning, error and fatal messages on STDERR
};
var logger = bunyan.createLogger({
name: loggerName,
streams: [
{
type: 'raw',
stream: consoleStream.createStream(stream_options)
},
//...
]
});
// ...
logger.info('Success!'); // STDOUT output: INFO: Success!
logger.error('Fail.'); // STDERR output: ERROR: Fail.
FAQs
simple bunyan console logging stream
We found that bunyan-console-stream 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.