added new line white space to log method