From 2417cfda1219af7d80d39662007fc1d45e5cfd14 Mon Sep 17 00:00:00 2001 From: Dreamacro <305009791@qq.com> Date: Wed, 26 Jun 2019 20:30:57 +0800 Subject: [PATCH] Chore: set log output to stdout --- log/log.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/log/log.go b/log/log.go index 77a835cd..251929de 100644 --- a/log/log.go +++ b/log/log.go @@ -2,6 +2,7 @@ package log import ( "fmt" + "os" "github.com/Dreamacro/clash/common/observable" @@ -15,6 +16,7 @@ var ( ) func init() { + log.SetOutput(os.Stdout) log.SetLevel(log.DebugLevel) }