I find tw kind of go library for GAE:
- "google.golang.org/appengine/log"
- "cloud.google.com/go/logging"
Which one should I use ? By the way I use both logging library in my app. In local dev mode , I can see log like this.
2019/01/08 06:57:34 INFO: Search keyword="test" idOnly=bool
2019/01/08 06:57:34 INFO: Search:"test"
But when I deploy to production GAE, I cannot see any log.
No matter using stackdriver by
resource.type="gae_app" resource.labels.module_id="default"
Or gcloud command
gcloud app logs tail -s default