apex / apex/log

Individual levels for multi handler

Aperta
#59 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
1.4k
Fork
110
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

It would be nice when using the multi handler if we could set the individual logging level for each handler. For example in my application I only want info to be logged to the cli and Warn, Error, and Fatal to be written out as json to a file.

Based on an initial look this might require a lot of changes since Level is currently part of the Logger struct.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.