how about using glog
yanyiwu opened this issue · 2 comments
yanyiwu commented
how about using glog(https://github.com/golang/glog) to output more information ?
For example, if login ok, glog.Info("Login OK!").
I think glog is a good think to make program easier to use.
mattn commented
Do you mean it about example app? I don't want that go-xmpp depend on any another logging package.
If you want the event "Login OK", I'll add callback function.
yanyiwu commented
OK, Normally, that's not a problem.