Skip to content
Snippets Groups Projects
Commit 31f62cd6 authored by Olivier PEREZ's avatar Olivier PEREZ
Browse files

LogService: Add a line break at the en of lines

parent 5d8e5362
No related branches found
No related tags found
No related merge requests found
......@@ -14,8 +14,14 @@ class LogService {
$this->output = $output;
}
/**
* Log a message to the log file.
*
* @param $tag string A tag is used to quickly found a message when reading log file
* @param $message string some message
*/
function log($tag, $message) {
error_log('[' . $tag . '] ' . $message, 3, $this->output);
error_log('[' . $tag . '] ' . $message . "\n", 3, $this->output);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment