Skip to content

Commit db5e775

Browse files
ljcbabySuyunmeng
authored andcommitted
refactor(log): redir utils.Log to logrus after init (#833)
1 parent 6bebee7 commit db5e775

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/bootstrap/log.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,5 @@ func Log() {
5353
}
5454
log.SetOutput(logrus.StandardLogger().Out)
5555
utils.Log.Infof("init logrus...")
56+
utils.Log = logrus.StandardLogger()
5657
}

0 commit comments

Comments
 (0)