Add options to `log.Init` to change format and possible other options
@burmudar ci sta già lavorando.
Dal 27/9/2022.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
There is a need to provide a options to the logger through something else besides environment variables.
@eseliger For instance wants to be able to change the format depending on whether the tool is executing with a TTY available.
Should this be “development mode” or could we expose that as an option in log.Init to say humanInterface or something like that? Feels a bit more generic than SRC_DEVELOPMENT and I could make it dependent on IS_TTY for my use-case
- Lingua principale
- Go
- Stelle
- 13
- Fork
- 3
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sourcegraph/log
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
sourcegraph/log#65 ·
Tutte le issue di sourcegraph/log
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 60/100
github/gh-aw-mcpg#13748 ·
-
agentic-workflows
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
googleapis/librarian#7670 · 2 commenti ·