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。

閱讀全文