We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f821301 commit 1daac51Copy full SHA for 1daac51
main.go
@@ -106,8 +106,8 @@ func logJSON(msg string, fields map[string]string) {
106
}
107
jsonBytes, err := json.Marshal(entry)
108
if err != nil {
109
- fmt.Fprintf(os.Stdout, "[nginx-cache-sync] {\"msg\":\"failed to encode log: %s\"}\n", err.Error())
+ fmt.Fprintf(os.Stdout, "\n[nginx-cache-sync] {\"msg\":\"failed to encode log: %s\"}\n", err.Error())
110
return
111
112
- fmt.Fprintf(os.Stdout, "[nginx-cache-sync] %s\n", string(jsonBytes))
+ fmt.Fprintf(os.Stdout, "\n[nginx-cache-sync] %s\n", string(jsonBytes))
113
0 commit comments