I am using the following simple code snippet to log messages in my application and during local testing I see all my logs.
However, I do not see any application logs when I deploy the app to GAE. Do I need to set logging properties anywhere? Or am I using the wrong logging library?
import (
"log"
)
func Info(logMessage string, v ...interface{}) {
if v != nil {
log.Printf("[INFO] "+logMessage, v)
} else {
log.Printf("[INFO] " + logMessage)
}
}