
dsh-runtime-log
WforEvery
A lightweight DSH plugin for persistent local WARN/ERROR logs in rotating JSONL files. Features bounded buffering, best-effort secret redaction, and automatic log retention. Zero runtime dependencies. Supports DSH on Windows x64.
AI 简介
dsh-runtime-log 是一个轻量级 DSH(Desktop Shell)插件,用于将运行时 WARN/ERROR 日志持久化到本地轮转式 JSONL 文件中。核心功能包括有界缓冲队列、尽力而为的敏感信息脱敏(如密钥、Bearer Token)、自动日志保留与清理、进程重启后日志可追溯;技术上零运行时依赖,仅使用 Node.js 内置模块,专为 Windows x64 平台优化,兼容 DSH 0.2.2-rc.1 及 Cordis 4.1.0。适用于桌面端 DSH 插件开发者在本地调试、故障复现与生产环境诊断等需长期留存错误上下文的场景。
JavaScript
MIT License 最后更新 2026年11月21日活跃72
Stars
7
Forks
7
Watchers
0
Issues
Star 增长
今日0
近 7 天+21
近 30 天+47
综合评分57.91
默认分支main