[Awesome Go] Use logrusHelper package to load configuration for logrus log
logrusHelper
logrusHelper is a Helper arround Logrus to wrap with spf13/Viper
to load configuration with fangs!
Example
1 | // main.go |
See mate.conf.example - https://github.com/heralight/logrus_mate/blob/v1.0.1/example/mate.conf.example to learn more.
References
[2] sirupsen/logrus: Structured, pluggable logging for Go. - https://github.com/sirupsen/logrus
[3] mate.conf.example - https://github.com/heralight/logrus_mate/blob/v1.0.1/example/mate.conf.example
[4] gogap/logrus_mate: tool for logrus, let it easy to use - https://github.com/gogap/logrus_mate
[5] GitHub - spf13/viper: Go configuration with fangs - https://github.com/spf13/viper