forked from mirror/logrus
changed prettyprinting to use spaces as opposed to /t
This commit is contained in:
parent
509bff05a7
commit
723dd3cd1f
|
@ -78,7 +78,7 @@ func (f *JSONFormatter) Format(entry *Entry) ([]byte, error) {
|
||||||
var err error
|
var err error
|
||||||
|
|
||||||
if f.PrettyPrint {
|
if f.PrettyPrint {
|
||||||
serialized, err = json.MarshalIndent(data, "", "\t")
|
serialized, err = json.MarshalIndent(data, "", " ")
|
||||||
} else {
|
} else {
|
||||||
serialized, err = json.Marshal(data)
|
serialized, err = json.Marshal(data)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue