Go logging library for GCP App Engine, Cloud Run, Cloud Functions:
- Encodes the severities so that coloring works in the Google web-based Logs Explorer.
- Zero dependencies, it is a stdlib-only module. Nul, zilch, nada!
- Safe for concurrent logging.
- Backward compatible with older Go versions as far as 1.9.4.
package main
import "github.com/apsystole/log"
func main() {
log.Print("my message")
}
More details to be found in the documentation on pkg.go.dev.