From 77087baed9ff8a2228d6a72a28ec2c446e2518e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Wed, 22 Jun 2022 16:42:10 +0800 Subject: [PATCH] modify plugin name --- kiri-engine/Abstracts/Logger.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kiri-engine/Abstracts/Logger.php b/kiri-engine/Abstracts/Logger.php index 507b1fa3..80d847d9 100644 --- a/kiri-engine/Abstracts/Logger.php +++ b/kiri-engine/Abstracts/Logger.php @@ -147,9 +147,9 @@ class Logger implements LoggerInterface return; } - $_string = '[' . now() . '] production.' . $level . ': ' . $message; + $_string = '[' . now() . '] production.' . $level . ': ' . $message . PHP_EOL; if (!empty($context)) { - $_string .= PHP_EOL . $this->_string($context); + $_string .= $this->_string($context); } file_put_contents('php://output', $_string);