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