From cbbcac91597e32e1e66eb881101dfed9e5ef5d70 Mon Sep 17 00:00:00 2001 From: Muihd <1083092844@qq.com> Date: Wed, 1 May 2024 13:19:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=A5=E5=BF=97=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BarrageGrab/nlog.config | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/BarrageGrab/nlog.config b/BarrageGrab/nlog.config index 5fbff6e..a5b6411 100644 --- a/BarrageGrab/nlog.config +++ b/BarrageGrab/nlog.config @@ -28,18 +28,25 @@ xsi:type="Console" layout="${time}|${level:uppercase=true}| ${message} ${newline}"/> - + + name="console" + xsi:type="ColoredConsole" + useDefaultRowHighlightingRules = "false" + layout="${time} [${level:uppercase=true}]> ${message}${newline}" + > + + + + + + + - +