Please add the option to change the name of the logging level.

Aperta
#114 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
go
Ambito
backend

Direzione di ricerca

Read the logging level formatting code and its tests to find where warn is rendered. Determine how an option to customize level names would fit the existing logger API, then add coverage showing that warning can be rendered as warning. Done means callers can configure the displayed level name and existing level formatting remains covered.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

We decided to change the logging library in the project with logrus. We looked at the speed. And this library turned out to be the fastest. We've made a lot of changes to one of our services. It was late to notice that instead of warning, warn is written. This is important for us, as it will lose compatibility with other services in the project. Could you please add the option to change the string representation or give me the option to make a pull request.

Lingua principale
Go
Stelle
881
Fork
64
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di phuslu/log

Tutte le issue di phuslu/log

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.