Chore: aggregate logger

This commit is contained in:
Dreamacro
2019-12-20 17:22:24 +08:00
parent eae06a4a7d
commit dd61e8d19d
3 changed files with 8 additions and 10 deletions

View File

@ -4,9 +4,9 @@ import (
"sync"
C "github.com/Dreamacro/clash/constant"
"github.com/Dreamacro/clash/log"
"github.com/oschwald/geoip2-golang"
log "github.com/sirupsen/logrus"
)
var (
@ -50,7 +50,7 @@ func NewGEOIP(country string, adapter string, noResolveIP bool) *GEOIP {
var err error
mmdb, err = geoip2.Open(C.Path.MMDB())
if err != nil {
log.Fatalf("Can't load mmdb: %s", err.Error())
log.Fatalln("Can't load mmdb: %s", err.Error())
}
})