This commit is contained in:
as2252258@163.com
2021-07-11 03:59:52 +08:00
parent 12d547c1a2
commit cda768b721
+1 -1
View File
@@ -172,8 +172,8 @@ class Logger extends Component
*/
public function write(string $messages, string $method = 'app')
{
return;
if (empty($messages)) {
return;
}
$dirName = 'log/' . ($method ?? 'app');