Skip to content

Commit

Permalink
fixed: default logger discard.
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhifeihy committed Jan 19, 2022
1 parent a9d3f4f commit 0471dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func StringInSlice(str string, list []string) bool {
return false
}

func Init() {
func init() {
logger.Discard()
}

Expand Down

0 comments on commit 0471dce

Please sign in to comment.