Remove the Global Logger #585
Labels
good first issue
Good for newcomers
help wanted
Extra attention is needed
lang/go
The Go Programming Language
priority/2
P2
scope/S
Change is Small
type/enhancement
New feature or request
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.The text was updated successfully, but these errors were encountered: