create a local logger variable and not use the log directly from log package?
I understand the formatting and useful flags that you can add while building a logger. But, What do they mean when they refer to not using log from the package log as a global variable?
Have you considered incompetence?
primarily cause you can control what and how logging is done, search about logging in go... https://www.honeybadger.io/blog/golang-logging/
Thanks! Its just that i want to keep things simple and use the stdlib log package, atleast for now.
Обсуждают сегодня