fix: use reload instead

master
Evan Chen 2021-11-02 00:50:49 +08:00
parent ccfbb72546
commit e02d0106a6
1 changed files with 1 additions and 2 deletions

3
log.go
View File

@ -95,8 +95,7 @@ func Default() *logger {
color: true, color: true,
formatter: NewLogFormater(), formatter: NewLogFormater(),
} }
l.guessColor() l.Reload()
l.ParseTmpl()
return l return l
} }