changed prettyprinting to use spaces as opposed to /t
This commit is contained in:
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user