I’ve application which should use log in state of debug. i.e. all the logs that I want to provide is like log.debug
I’ve read about it and find the following
https://github.com/Sirupsen/logrus
https://github.com/uber-go/zap
My question is how should I “tell” to the program that now run at debug mode an then all the logs will be printed since this I believe should come from outside … example will be very helpful since Im new to golfing .