Created
August 22, 2018 14:41
-
-
Save gouthamve/2ca0cf39e9a5cc60bc0b676edd2bc358 to your computer and use it in GitHub Desktop.
gokit-log drops keys with spaces in them
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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