设置日志记录

This commit is contained in:
2025-08-30 10:52:03 +08:00
parent 4445ef8caf
commit 045e923dd2

View File

@@ -172,6 +172,14 @@ return [
'path' => LOG_PATH,
// 日志记录级别
'level' => [],
// 单文件日志写入
'single' => false,
// 独立日志级别
'apart_level' => ['room_give_gift','exchange_coin','app_pay'],
// 最大日志文件数量
'max_files' => 0,
// 是否关闭日志写入
'close' => true,
],
// +----------------------------------------------------------------------
// | Trace设置 开启 app_trace 后 有效