Article directory
Problem Description
The printed log is very long. When debugging, it is found that the following logs are not printed normally, but the execution logic is correct, and the test result is successful.
problem analysis
The idea console has a limit on the number of lines, and the content exceeding 1024kB will be cleared, so it will not be displayed
solution
For reference: https://www.cnblogs.com/qinxu/p/9258751.html
- Newline output log
- Output the log as a file and display it all