User input is processed and the output is written into a file. Each new log takes a new line.