dsh-logger-channels:为 DSH Profile 提供可见的日志出口
dsh-logger-channels 是 DSH 社区客户端插件,为 profile 注册命名日志通道,将框架与各插件的 ctx.logger 输出送到 stderr、stdout 或按大小轮转的文件。无独立 tool 与配置文件,通过 LOGGER_CHANNELS_* 环境变量与 cordis patch 的 channels 声明;级别遵循 cordis verbosity 编号。安装命令为 dsh plugin --profile <name> add dsh-logger-channels。适合需要可观测运行时日志的场景;需注意 stdout 协议冲突、写失败静默及 patch 整段替换 config。MIT 许可,维护者 xuan25。
阅读全文