🐛 fix log

pull/548/head
微凉 2021-11-26 20:23:33 +08:00
parent fe73ece57d
commit 4fe6ed6c3e
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ func main() {
r := gin.Default()
server.InitApiRouter(r)
base := fmt.Sprintf("%s:%d", conf.Conf.Address, conf.Conf.Port)
log.Info("start server @ %s", base)
log.Infof("start server @ %s", base)
err := r.Run(base)
if err != nil {
log.Errorf("failed to start: %s", err.Error())