Open jkomoros opened 7 years ago
Also, it really should be that each manager just gets a reference to the single logger that server has, so when server emits other debug messages like socket registering they use logrus too
That implies that manager.Logger is a public field, and server creatse a new logger and stuffs it in at start
Just use logrus.StandardLogger(), and pass that to gin as well
Currently if you're not in release mode it goes to debug level.
But there are even cases in dev mode where you don't want verbose