From d5160096734b5025f04752ec83373f764b6ff414 Mon Sep 17 00:00:00 2001 From: gVisor bot 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) }