Closed stefansaasen closed 6 months ago
This works but the test requires the changes from #38
This is similar to #34 but changing only the cause of the bug and adding a test for it. Credit really goes to @peter-teslenko for fixing #35
With #34 merged the bug has been fixed. This PR has a test for the change but not sure if that is worth adding. The httplog
package doesn't have any tests to begin with.
This fixes #35 as the httplog.Options#JSON now causes the log entry to not be pretty printed to stderr if set to true.