Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 875 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 875 Bytes

log Build Status Go Reference

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.

Screenshot

Coloring on GCP

Examples

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.