feat(log): 新增 DebugMysqlAsync 异步日志驱动与 debug_mysql_async 通道

This commit is contained in:
augushong
2026-08-16 08:06:27 +08:00
parent 413038b47d
commit 4d8cfc8844
3 changed files with 92 additions and 1 deletions

View File

@@ -72,7 +72,11 @@ return [
'charset' => Env::get('database.charset', 'utf8'),
// 数据库表前缀
'prefix' => Env::get('database.prefix', 'ul_'),
]
],
// 异步模式:本地 JSONL + 定时导入,写日志零 DB 依赖
'debug_mysql_async' => [
'type' => 'DebugMysqlAsync',
],
],
];