mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-05 22:52:49 +08:00
规范日志记录级别
This commit is contained in:
@@ -195,7 +195,7 @@ class Mongo extends Driver
|
||||
public function error()
|
||||
{
|
||||
$this->error = $this->_mongo->lastError();
|
||||
Log::record($this->error, 'ERR');
|
||||
Log::record($this->error, 'error');
|
||||
return $this->error;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user