reformat error funcs, improved logger

This commit is contained in:
2021-11-18 20:21:30 +01:00
parent 43357bc790
commit 8f40c6fc53
3 changed files with 210 additions and 8 deletions

View File

@ -15,7 +15,7 @@ var (
type log struct{}
func init() {
defaultLogger = &logger{FieldLogger: logrus.New()}
defaultLogger = &logger{fl: logrus.New()}
}
func SetDefault(logger Logger) {