From 723dd3cd1f7a69421a05118059a9ed644bdd3d12 Mon Sep 17 00:00:00 2001 From: Marianne Feng Date: Tue, 20 Mar 2018 18:20:51 -0700 Subject: [PATCH] changed prettyprinting to use spaces as opposed to /t --- json_formatter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json_formatter.go b/json_formatter.go index e52ab17..dab5a10 100644 --- a/json_formatter.go +++ b/json_formatter.go @@ -78,7 +78,7 @@ func (f *JSONFormatter) Format(entry *Entry) ([]byte, error) { var err error if f.PrettyPrint { - serialized, err = json.MarshalIndent(data, "", "\t") + serialized, err = json.MarshalIndent(data, "", " ") } else { serialized, err = json.Marshal(data) }