microsoft/retina

Remove the Global Logger

Open

#585 opened on 2024年8月7日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)Go (293 forks)auto 404
good first issuehelp wantedlang/gopriority/2scope/Stype/enhancement

Repository metrics

Stars
 (3,161 stars)
PR merge metrics
 (PR metrics pending)

説明

We currently have a global logger in retinacmd.Logger. There's never a need for a global logger, and it inhibits the proper use of "child loggers", where certain contextual information is injected into scope-limited logger instances (helping to ensure consistent logging without overhead). We should remove the global logger and inject it in every instance.

コントリビューターガイド