改名
This commit is contained in:
@@ -222,8 +222,7 @@ class Logger extends Component
|
|||||||
if (empty($this->logs)) {
|
if (empty($this->logs)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
foreach ($this->logs as $log) {
|
foreach ($this->logs as $method => $message) {
|
||||||
[$method, $message] = $log;
|
|
||||||
$this->write($message, $method);
|
$this->write($message, $method);
|
||||||
}
|
}
|
||||||
$this->logs = [];
|
$this->logs = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user