diff --git a/app/classes/Framadate/Services/LogService.php b/app/classes/Framadate/Services/LogService.php index b717f2256fdc5bc68878a6ab1ec77d1a90595060..a8f27aa8229c712303e0127e7738402de06a7827 100644 --- a/app/classes/Framadate/Services/LogService.php +++ b/app/classes/Framadate/Services/LogService.php @@ -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); } }