sillsdev/languageforge-lexbox

Minor improvement to BulkCreateEntries

开放

#2,305 创建于 2026年5月28日

 (0 条评论) (0 个反应) (0 位负责人)C# (6 个派生)auto 404
Good first issue📖 MiniLcm

仓库指标

星标
 (7 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Describe the feature BulkCreateEntries currently calls logger.LogInformation("Added {Count} entries so far", entryCount) every 1000 entries, but doesn't log the total number of entries when it finishes. It's probably worth adding one more log entry at the very end of BulkCreateEntries (even after regenerating the entry search table): logger.LogInformation("Added {Count} entries", entryCount). That way the log will contain not just an every-1000-entries progress message, but also a note of precisely how many entries were added by the bulk operation. Which would be useful slightly more often than the current behavior, where a progress message is logged but the total number is not.

贡献者指南