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; }