
Product
Introducing Scala and Kotlin Support in Socket
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
替换 tj 的 debug module,向 log.io 输出日志
例如
var debug = require('debug')("express")
这个level定为 debug
1.1 File: express.log , 传送最低level为warn
1.2 Log.io , node名称全局配置,生存一个叫 express 的stream,传送最低level为 debug
1.3 debug 不走console了
我把 winston 这个默认的logger绑定到console上面,可以使用 console.warn,console.debug ...
console.log
1. 输出到控制台
2. 输出到winston,level为debug
1. 文件 console.log
2. log.io stream name : console_msg
参照demo/config/default.js 配置
winston 默认 levels { silly: 0, debug: 1, verbose: 2, info: 3, warn: 4, error: 5 }
FAQs
replace tj's debug,log to log.io
The npm package cc-debug receives a total of 0 weekly downloads. As such, cc-debug popularity was classified as not popular.
We found that cc-debug 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.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.