Added PHP_EOL in log() function