Cédric Verstraeten
Cédric Verstraeten
This library is great: https://github.com/natefinch/lumberjack. fileBackend := logging.NewLogBackend(&lumberjack.Logger{ Filename: "./logs/log.log", MaxSize: 2, // megabytes Compress: true, // disabled by default }, "", 0) logging.SetBackend(stdBackendLeveled, mqttBackend, fileBackend)
thanks this does work for string, but integers are set to 0, even if there is a valid response in the body {{VideoEncoderToken_2 0} {0 0} 0 {0 0 0}...
indeed would appreciate this as well
I played around and I could make it work as following ;) https://play.golang.org/p/Kd4lV6MuCSg
This would be very cool, I have also the requirement to connect to multiple brokers. Regards Cédric
@sclausen is there any example that we could to this repo, for example in the examples folder?
Sorry the comment was related to the one above. Illustrating the factory patttern.
yes I know, and it works, I was just suggesting for upcoming users of your library, it might be good to document it inside the repo. So they do not...
same issue
Is there any news about the feature request?