Ver código fonte

日志修改

mxs 1 ano atrás
pai
commit
661ea2c81f
1 arquivos alterados com 1 adições e 1 exclusões
  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()
 	//