Re: [PATCH v2 2/6] log: Handle line continuation

2021-03-15 Thread Tom Rini
On Wed, Jan 20, 2021 at 08:10:53PM -0700, Simon Glass wrote: > When multiple log() calls are used which don't end in newline, the > log prefix is prepended multiple times in the same line. This makes the > output look strange. > > Fix this by detecting when the previous log record did not end in

[PATCH v2 2/6] log: Handle line continuation

2021-01-20 Thread Simon Glass
When multiple log() calls are used which don't end in newline, the log prefix is prepended multiple times in the same line. This makes the output look strange. Fix this by detecting when the previous log record did not end in newline. In that case, setting a flag. Drop the unused BUFFSIZE in the