1
czw
2025-07-02 3492292c4f006945781714b731303a12b0f1dd3a
2025年6月12日/AuxAllWCS/Build/Project/代码/自定义类.cs
@@ -172,11 +172,11 @@
            // 娣诲姞target-console
            var consoleTarget = new ColoredConsoleTarget();
            consoleTarget.Layout = @"${longdate} | ${level:uppercase=false:padding=-5} | ${message} ${onexception:${exception:format=tostring} ${newline} ${stacktrace} ${newline}";
            //var consoleTarget = new ColoredConsoleTarget();
            //consoleTarget.Layout = @"${longdate} | ${level:uppercase=false:padding=-5} | ${message} ${onexception:${exception:format=tostring} ${newline} ${stacktrace} ${newline}";
            config.AddTarget("console", consoleTarget);
            config.AddRule(LogLevel.Debug, LogLevel.Fatal, consoleTarget);
            //config.AddTarget("console", consoleTarget);
            //config.AddRule(LogLevel.Debug, LogLevel.Fatal, consoleTarget);
            //娣诲姞target-info
            var infoFileTarget = new FileTarget();