Skip to content

Commit

Permalink
Fix bug #115
Browse files Browse the repository at this point in the history
  • Loading branch information
elvishew committed Nov 14, 2021
1 parent 1de2fdc commit cb398da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public void println(int logLevel, String tag, String msg) {
end = Math.min(start + maxChunkSize, msgLength);
if (autoSeparate) {
int newLine = msg.indexOf('\n', start);
end = newLine != -1 ? newLine : end;
end = newLine != -1 ? Math.min(end,newLine) : end;
} else {
end = adjustEnd(msg, start, end);
}
Expand Down

0 comments on commit cb398da

Please sign in to comment.