Logger Logs strings to a file after method is called 5 times.