Dynamically change log level after `init`
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- rust
調査の方向性
まず、既存の init API と、環境ベースのログレベルがどのように適用されているかを追跡します。issue #144 との関係、および示されている CLI パースのユースケースを確認します。初期化後にロガーのレベルを変更でき、プログラムの後半部分でロギングを有効化または無効化できるようになれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Is there currently a way to change the log level after having called init already? If there is currently no way, i would like to request this feature
Use case:
i would like to enable logging as the first thing in my code to have log output (from env, etc) and later after having parsed the cli (like with clap) set the level based on something like verbosity.
also another use case would be to dynamically turn the logging on / off for a specific part (which is probably already covered by #144)
- 主要言語
- Rust
- スター
- 1.1k
- フォーク
- 150
- 平均マージ
- 3分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rust-cli/env_logger のほかの issue
-
Sanitization requires color, which parses every record再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
rust-cli/env_logger#419 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
rust-cli/env_logger#379 · コメント 5 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
rust-cli/env_logger#369 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
rust-cli/env_logger#367 · コメント 1 件 ·
-
refactor the crate to separate the provided configurable formater and the optional custom formatterオープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
rust-cli/env_logger#365 · コメント 10 件 ·
rust-cli/env_logger の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
swc-project/swc#12516 ·
メンテナーはふだん 1 日以内に返信
-
app bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
mls-rs-crypto-awslc: exact aws-lc-rs =1.16.3 pin blocks rustls security update対応中かも @muscariello が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
[work-item] adam-adae-worsening-emergence: conform spec.yaml to the specification style contract (REQ-1280)対応中かも @muse-yamaa-bot が今日担当しました。 オープンwork-item
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信