Skip to content

Instantly share code, notes, and snippets.

@gouthamve
Created August 22, 2018 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gouthamve/2ca0cf39e9a5cc60bc0b676edd2bc358 to your computer and use it in GitHub Desktop.
Save gouthamve/2ca0cf39e9a5cc60bc0b676edd2bc358 to your computer and use it in GitHub Desktop.
gokit-log drops keys with spaces in them
package main
import (
"os"
kitlog "github.com/go-kit/kit/log"
)
func main() {
logger := kitlog.NewLogfmtLogger(kitlog.NewSyncWriter(os.Stdout))
logger.Log("hi ddd", "gtm")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment