go-playground / log

:green_book: Simple, configurable and scalable Structured Logging for Go.
MIT License
293 stars 21 forks source link

Unable to remove handlers #19

Closed Chiiruno closed 6 years ago

Chiiruno commented 6 years ago

addHandlers just keeps the handler there forever with no way to remove it or change it. removeHandlers would be a great method for this. Consider servers where you can change the error email live, the only thing you can do right now is change and restart the program.

Chiiruno commented 6 years ago

Alternatively, being able to change the contents within each handler freely would also work.

deankarn commented 6 years ago

@Chiiruno that is what I was going to suggest, that logic really does belong to each handler and how you wish to operate it.