[Refactor] logger && stand output #22

Closed
opened 2021-12-08 20:43:52 -05:00 by SecondDim · 0 comments
SecondDim commented 2021-12-08 20:43:52 -05:00 (Migrated from github.com)

ISSUE

說明 (Description)

訊息輸出格式改為 command line 標準輸出

種類 (Issue Type)

[ ] Feature Request
[ ] Report Bug
[x] Other


可能的解法 (Proposed Solution)

修改 logger 格式


應呈現結果 (Expected Behavior)

> bdk config init
Config init success

其他說明 (Additional Context)

考慮可以讓使用者選著輸出模式

  • 標準: 只輸出必要結果訊息(執行結果)
  • Debug: 輸出所有 logger
  • package 模式: 讓使用者使用自己的 logger
# ISSUE ## 說明 (Description) 訊息輸出格式改為 command line 標準輸出 ## 種類 (Issue Type) [ ] Feature Request [ ] Report Bug [x] Other --- **可能的解法 (Proposed Solution)** 修改 logger 格式 --- **應呈現結果 (Expected Behavior)** ```bash > bdk config init Config init success ``` --- ## 其他說明 (Additional Context) 考慮可以讓使用者選著輸出模式 - 標準: 只輸出必要結果訊息(執行結果) - Debug: 輸出所有 logger - package 模式: 讓使用者使用自己的 logger
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cathayddt/bdk#22
No description provided.