From d28af2fa0921a191d446e4e5b3d1e66dffc21d5b Mon Sep 17 00:00:00 2001 From: whwyy Date: Wed, 13 Dec 2023 18:14:42 +0800 Subject: [PATCH] eee --- Command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command.php b/Command.php index 752f20c..7eb4222 100644 --- a/Command.php +++ b/Command.php @@ -185,7 +185,7 @@ class Command extends Component { $logger = $this->getLogger(); $error = $this->sql . '.' . json_encode($this->params) . PHP_EOL . throwable($throwable); - file_put_contents('php://output', '[' . date('Y-m-d H:i:s') . '] ' . $error . PHP_EOL, FILE_APPEND); + file_put_contents('php://output', '[' . date('Y-m-d H:i:s') . '] ' . $error, FILE_APPEND); return $logger; }