microsoft / microsoft/FeatureManagement-JavaScript
Introduce logging framework/library
還沒有人認領這個 Issue。
- 主要語言
- TypeScript
- 星號
- 19
- 分支
- 6
- 平均合併
- 2 天 3 小時
- 30 天內合併 PR
- 4
描述
The vanilla console.log/warn/error is convenient, and works on both client-side (browser) and server-side(e.g. nodejs) apps. But it only prints to stdout/stderr.
Popular logging frameworks like winston is powerful, providing different log levels, different format of output (stdout, a file, and a database etc.). But is not directly working on client-side so far, and introduce more dependencies.
A feasible solution is using a customized logger, and delegate logger.log to console.log or winston based on running environment.
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
該 issue 未指定任何檔案、測試或進入點。首先檢視針對 console 和 winston 提出的方案,包括它們在瀏覽器和 Node.js 中的行為;完成的標準是就一個支援所述環境和輸出選項的自訂 logger 設計達成共識。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, node.js, typescript
- 領域
- tooling
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100