改名
This commit is contained in:
@@ -265,8 +265,8 @@ class ServerInotify extends Process
|
||||
if (str_contains($message, 'The file descriptor is not an inotify instance')) {
|
||||
return;
|
||||
}
|
||||
$this->application->debug('Error:' . $message);
|
||||
$this->application->debug($file . ':' . $line);
|
||||
logger()->debug('Error:' . $message);
|
||||
logger()->debug($file . ':' . $line);
|
||||
}
|
||||
|
||||
|
||||
@@ -279,7 +279,7 @@ class ServerInotify extends Process
|
||||
{
|
||||
//目录不存在
|
||||
if (!is_dir($dir)) {
|
||||
return $this->application->addError("[$dir] is not a directory.");
|
||||
return logger()->addError("[$dir] is not a directory.");
|
||||
}
|
||||
//避免重复监听
|
||||
if (isset($this->watchFiles[$dir])) {
|
||||
|
||||
Reference in New Issue
Block a user