udpate logger init

This commit is contained in:
Hoang 2021-11-24 16:28:01 +07:00
parent 828fec0abb
commit c6dbf1fd94
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ func Init(config Config) (*Service, error) {
return nil, err return nil, err
} }
logger.Init("usermngmt", "") logger.Init(fmt.Sprintf("%s-usermngmt", config.TablePrefix), "")
// Set database // Set database
database.Set(db, config.TablePrefix) database.Set(db, config.TablePrefix)