feat: use lumberjack for log rotate

This commit is contained in:
Noah Hsu
2022-08-30 15:22:54 +08:00
parent 59ec17a353
commit 046bbb3a48
8 changed files with 65 additions and 68 deletions

7
pkg/utils/log.go Normal file
View File

@ -0,0 +1,7 @@
package utils
import (
log "github.com/sirupsen/logrus"
)
var Log = log.New()