Open a-h opened 2 years ago
There's an extra newline if your log entries already end with a newline.
I notice that if you're streaming logs, the newline gets stripped.
https://github.com/TylerBrock/saw/blob/master/blade/blade.go#L146-L147
Easy fix though.
https://github.com/a-h/saw/commit/21e6320f3620099f2fce2c72aedf86d3afbcb2bc
Then gives the expected output.
There's an extra newline if your log entries already end with a newline.
I notice that if you're streaming logs, the newline gets stripped.
https://github.com/TylerBrock/saw/blob/master/blade/blade.go#L146-L147
Easy fix though.
https://github.com/a-h/saw/commit/21e6320f3620099f2fce2c72aedf86d3afbcb2bc
Then gives the expected output.