qqq
This commit is contained in:
@@ -89,7 +89,7 @@ class StdoutLogger extends Component
|
|||||||
if (str_contains($message, 'inotify_rm_watch')) {
|
if (str_contains($message, 'inotify_rm_watch')) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
file_put_contents('php://output', '[' . date('Y-m-d H:i:s') . '] ' . $message . PHP_EOL, FILE_APPEND);
|
file_put_contents('php://output', '[' . date('Y-m-d H:i:s') . '] ' . $message, FILE_APPEND);
|
||||||
$this->error($message, []);
|
$this->error($message, []);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -110,7 +110,7 @@ class StdoutLogger extends Component
|
|||||||
$this->{$name}(...$arguments);
|
$this->{$name}(...$arguments);
|
||||||
}
|
}
|
||||||
} catch (\Throwable $exception) {
|
} catch (\Throwable $exception) {
|
||||||
echo $exception->getMessage() . PHP_EOL;
|
file_put_contents('php://output', '[' . date('Y-m-d H:i:s') . '] ' . $exception->getMessage(), FILE_APPEND);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user