会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
依然范儿特西
代码改变世界QQ群:453011886
博客园
首页
联系
管理
2020年9月23日
【Laravel5】利用 Laravel监听器进行sql语句单独记录
摘要: 1 添加一个日志通道 : 打开 config/logging.php 'sql'=>[ 'driver' => 'daily', 'level' => 'debug', 'path' => storage_path('logs/sql/log.log'), ], 2 创建监听器 php artisa
阅读全文
posted @ 2020-09-23 10:13 依然范儿特西
阅读(355)
评论(0)
推荐(0)
编辑
公告