
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
appcan-logger
Advanced tools
简单的日志操作
npm install appcan-logger
var logger = require("appcan-logger")('[app]'); logger.error('hello world'); logger.warn('hello world'); logger.info('hello world'); logger.log('hello world');
##日志等级 'all', 'debug', 'info', 'warn', 'error', 'fatal', 'off' 分别对应着1-7等级
设置日志等级(只对设置后的日志起作用) require("appcan-logger").setLevel(4);
清空日志(所有日志不输出,只对设置后的日志起作用) require("appcan-logger").clear();
推荐使用等级
'debug', 'info', 'warn', 'error'
默认debug等级
FAQs
We found that appcan-logger 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.