An open API service indexing awesome lists of open source software.

https://github.com/arran4/gaelogger

Another google apps engine go logger this one is for the new go111+ world..
https://github.com/arran4/gaelogger

go golang google-app-engine google-app-engine-logger logger-abstraction

Last synced: about 2 months ago
JSON representation

Another google apps engine go logger this one is for the new go111+ world..

Awesome Lists containing this project

README

        

# Another google apps engine go logger this one is for the new go111+ world..

Usage is simple:
```go
import (
"github.com/arran4/gaelogger"
"net/http"
)

func init() {
http.HandleFunc("/", handle)
}

func handle(writer http.ResponseWriter, request *http.Request) {
logger := gaelogger.NewLogger(request)
defer logger.Close()
logger.Infof("%s request: %v %v", request.Method, request.URL.RawPath, request.URL.RawQuery)
}
```