Skip to content

embrosa/log

 
 

Repository files navigation

log Build Status Go Reference

Go logging library for GCP App Engine, Cloud Run, Cloud Functions:

  • Encodes severity 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.8.

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.

About

Go logging library for GCP App Engine, Cloud Run, Cloud Functions

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Go 100.0%