Revert "Simplified formatBatchNewlines()"
Revert "Simplified formatBatchNewlines()"

This reverts commit 4f91d1c58fe208d09ba4a8a14f75b0f02752e0d1.

JeroenDeDauw/monolog,nike-17/monolog,netgusto/monolog,Seldaek/monolog,thiagotalma/monolog,webwlsong/monolog,localheinz/monolog,chinaweilu/monolog,rap2hpoutre/monolog,entwu/monolog,tavrij/test,yegortokmakov/monolog,Stype/monolog,oswaldderiemaecker/monolog,vallejos/monolog,Sgoettschkes/monolog,pomaxa/monolog,prgTW/monolog,dracony/monolog,deguif/monolog,KevinMGranger/monolog,printerpam/monolog,brendo/monolog,bd808/monolog,gencer/monolog,lyrixx/monolog,JCook21/monolog,esalter/monolog,supre/monolog,aeryaguzov/monolog,yaoshanliang/monolog,dangnguyen27/monolog,mbrevda/monolog,cherrytech/monolog,ehough/epilog,0x46616c6b/monolog,dailymotion/monolog