Simply enable the Soft-Wrap feature.

The maximum length of a single log entry is 4096 characters. It is recommended that the length of printed log entries be checked in the application log framework. If an entry exceeds a certain length, print it in segments to avoid log loss.