浏览代码

日志修改

mxs 1 年之前
父节点
当前提交
661ea2c81f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      chromedp/main.go

+ 1 - 1
chromedp/main.go

@@ -25,7 +25,7 @@ func InitChromedpConfig() {
 func main() {
 	//日志相关
 	logger.SetConsole(false)
-	logger.SetLevel(logger.DEBUG)
+	logger.SetLevel(logger.LEVEL_DEBUG)
 	logger.SetRollingDaily("./logs", "chrome.log")
 	go clearLogs()
 	//