Selaa lähdekoodia

Merge branch 'master' of http://git.ius.plus/Project-Wing/fis

jimmy.jiang@vinno.com 8 kuukautta sitten
vanhempi
commit
c37092030c
1 muutettua tiedostoa jossa 7 lisäystä ja 2 poistoa
  1. 7 2
      fis/Program.cs

+ 7 - 2
fis/Program.cs

@@ -129,8 +129,13 @@ namespace fis
             }
             var result = appBuild.UsePlatformDetect().AfterSetup(_ => CefRuntimeLoader.Initialize(
                 //浏览器菜单语言设置为当前语言
-                settings: new CefSettings() { Locale = locale },
-            
+                settings: new CefSettings()
+                {
+                    Locale = locale,
+                    LogSeverity = CefLogSeverity.Debug, // 设置日志级别
+                    LogFile = "cef_log.txt", // 设置日志文件路径
+                },
+
          //启用Chrome自动播放, 启用打印预览
          flags: parameters));
             Logger.WriteShellLog("Main build AvaloniaApp end");