Added a newline character to the log method.