labstack / gommon

Common packages for Go
MIT License
539 stars 101 forks source link

Option to use json.MarshalIndent #25

Open mozey opened 5 years ago

mozey commented 5 years ago

It can be hard to read JSON logs without indentation.

Also fixes an index out of range bug with l.SetHeader("")