feat: add log

This commit is contained in:
Rogee
2024-09-13 09:10:25 +08:00
parent e252d4ec56
commit 0bd875767b

View File

@@ -52,6 +52,7 @@ func channelExportCmd(ctx context.Context) error {
logger.Error("get channel by username failed", zap.String("username", cfg.Username), zap.String("title", cfg.Title))
return err
}
logger.Info("channel info", zap.Int64("id", channel.ID), zap.String("title", channel.Title))
} else {
return err
}