
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
stentor-logger
Advanced tools
Simple logging library built on top of Winston for π£ stentor.
import { log } from "stentor-logger"
log().debug("Hello");
log().debug({foo:true});
log().info("Payload %o", request);
log().warn("uh oh");
log.error(new Error("bar"));
You can configure the loggers behavior with the following environment variables:
STENTOR_LOG_LEVEL="debug"
Or "info", "warn", or "error".
STENTOR_LOG_PII="true"
To log PII, by default all detected PII is redacted.
STENTOR_LOG_PII_MASK_PARTIAL="true"
When set to true, it will mask a majority of the PII but leave some characters unmasked. For example: (123) 456 7890 goes to (###) ### 7890. By default, all characters are masked.
STENTOR_LOG_PII_ERRORS="true"
Only used by π£ stentor developers to help debug errors while attempting to redact PII.
FAQs
Simple logging library built on top of Winston for π£ stentor
The npm package stentor-logger receives a total of 2,332 weekly downloads. As such, stentor-logger popularity was classified as popular.
We found that stentor-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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Koreaβs Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.