This commit is contained in:
2021-03-05 15:01:01 +08:00
parent f90e7edb32
commit cc88c8ca79
+1 -1
View File
@@ -131,7 +131,7 @@ class Command extends Component
$this->prepare->closeCursor();
}
logger()->write($this->sql . var_export($this->params, true), 'mysql');
logger()->debug($this->sql . var_export($this->params, true), 'mysql');
if (Config::get('debug.enable', false, false)) {
$this->debug($this->sql . '。 Run-time: ' . (microtime(true) - $time));