#### Expected behavior A \n in the log message should be translated into \r\n on Windows. #### Actual behavior \n stays \n, making viewing the log file in some text editors unpleasant.