From 045e923dd2e51737df85b6d2c52a9014066b5f3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Sat, 30 Aug 2025 10:52:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E6=97=A5=E5=BF=97=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/config.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/application/config.php b/application/config.php index 12696c4..8203847 100644 --- a/application/config.php +++ b/application/config.php @@ -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 后 有效