The `append` argument is kinda strange. It's used by `_stderr_receiver` but you could just add the line separator to the message there: `formatted_log_line(level, time, msg + os.linesep)`.