logToConsole without a linebreak

I was wondering if it would be possible to remove the automatic linebreak \n and let people add one if they need it? So a program that emits characters(a-la write()) could use the logger.

Cheers!