Browse Source

修复编译问题

Signed-off-by: allan716 <[email protected]>
allan716 3 years ago
parent
commit
fa38b975d3
2 changed files with 2 additions and 0 deletions
  1. 1 0
      pkg/extend_log/darwin.go
  2. 1 0
      pkg/extend_log/linux.go

+ 1 - 0
pkg/extend_log/darwin.go

@@ -7,6 +7,7 @@ import (
 
 	"github.com/allanpk716/ChineseSubFinder/pkg/settings"
 	"github.com/sirupsen/logrus"
+	lSyslog "github.com/sirupsen/logrus/hooks/syslog"
 )
 
 type ExtendLog struct {

+ 1 - 0
pkg/extend_log/linux.go

@@ -7,6 +7,7 @@ import (
 
 	"github.com/allanpk716/ChineseSubFinder/pkg/settings"
 	"github.com/sirupsen/logrus"
+	lSyslog "github.com/sirupsen/logrus/hooks/syslog"
 )
 
 type ExtendLog struct {