translated all logs to english

This commit is contained in:
onysd 2026-07-25 07:31:27 +03:00
parent e2e6f54ce6
commit 0e5da4c8aa
13 changed files with 277 additions and 90 deletions

View file

@ -108,9 +108,9 @@ func Start(ctx context.Context, addr string, bots BotsService, users UsersServic
return nil, err
}
go func() {
logger.Info("Bot API 网关已启用", zap.String("addr", addr))
logger.Info("Bot API gateway enabled", zap.String("addr", addr))
if err := srv.Serve(ln); err != nil && !errors.Is(err, http.ErrServerClosed) {
logger.Warn("Bot API 网关退出", zap.Error(err))
logger.Warn("Bot API gateway exited", zap.Error(err))
}
}()
if webhooks, ok := gateway.(GatewayWebhookControl); ok {