可以这样 storage_path('debug.log'); 复制代码也可以放到storage/logs中 storage_path('/logs/debug.log');复制代码 转载于:https://juejin.im/post/5c948583f265da61061480d5