This commit is contained in:
2023-04-05 11:39:15 +08:00
parent c1c3ab71ba
commit 03b43ba4ac
+4 -4
View File
@@ -152,10 +152,10 @@ class Logger implements LoggerInterface
$_string .= $this->_string($context);
}
file_put_contents('php://output', $_string);
$filename = storage('log-' . date('Y-m-d') . '.log', 'log/');
file_put_contents($filename, $_string, FILE_APPEND);
//
// $filename = storage('log-' . date('Y-m-d') . '.log', 'log/');
//
// file_put_contents($filename, $_string, FILE_APPEND);
}