inconshreveable / log15

Structured, composable logging for Go
https://godoc.org/github.com/inconshreveable/log15
Other
1.1k stars 144 forks source link

add configuration capabilities. #118

Closed gernoteger closed 6 years ago

gernoteger commented 7 years ago

This PR enables one to use a map to configure a log15 Handler tree with Formaters if applicable. It delberately starts form map, so there is no bisas how to get to them. Samples how to easily use yaml files are used in the tests. This PR relies on #117, since it also supports it.

kevinburke commented 6 years ago

Thanks! I don't think we're looking to add new functionality right now, but if you want to post this to your own repo I'd be happy to link it from the README.