This commit is contained in:
wangchuxiao
2023-03-13 10:03:23 +08:00
parent a348af74fa
commit d73ab781fe
4 changed files with 26 additions and 13 deletions
+1
View File
@@ -43,6 +43,7 @@ func run(port int) error {
}
fmt.Println("start api server, address: ", address, ", OpenIM version: ", config.Version)
log2.Info(context.Background(), "start server success", "address", address, "version", config.Version)
log.Info("s", "start server")
err = router.Run(address)
if err != nil {
log.Error("", "api run failed ", address, err.Error())