请问think-orm怎么打印sql到日志文件
2024-04-19
后来发现版本不匹配会不打印sql,但其他日志打印,记录下:
"php": ">=7.2",
"workerman/webman-framework": "1.4.3",
"monolog/monolog": "^2.0",
"topthink/think-template": "^2.0",
"topthink/think-validate": "^2.0",
"workerman/crontab": "^1.0",
"webman/push": "^1.0",
"webman/console": "1.0.27",
"webman/think-orm": "^1.1",
"webman/log": "1.0.1"
执行
composer require webman/log
,restart重启就自动记录SQL日志了每次记录日志,日志后面都有两个空数组,怎么去掉呀?看着别扭
可以在哪个配置里面暂时关闭记录吗